aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
blob: 313f0ad1b96947f6b655cc051104b4960beef01b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*should be placed outside of document root*/

$domain_name="localhost";

if (file_exists("/home/alex")) {
    $database_name="alex";
    $database_username="alex";
    $database_password="lol";
    $database_location="127.0.0.1";

    $storage_root = "/home/alex/fileup_storage";
}
else {

$database_name="fileup_testing";
$database_username="outsider";
$database_password="parola123";
$database_location="localhost";
/*storage root must be in the webroot*/
$storage_root = "/srv/apache/testing/project/files/";
}


$password_hash_algo=PASSWORD_BCRYPT;

$has_email_verification=false;
?>