aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
blob: 551013117a06d4a80b30366910c02dd4a87ffbcc (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 = "/tmp/fileup_storage";
}


$password_hash_algo=PASSWORD_BCRYPT;

$has_email_verification=false;
?>