aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
blob: 1ee0a9912e77f15e158c93d9a1ed7d098afaf8cb (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 = "/srv/apache/testing/project/files/";
}


$password_hash_algo=PASSWORD_BCRYPT;

$has_email_verification=false;
?>