blob: 09d1a06fb814fd22b170b9f168bd303cd27da61d (
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
29
|
<?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/";
}
/*if we save deleted files just in case of an error*/
$has_trash=true;
$password_hash_algo=PASSWORD_BCRYPT;
$has_email_verification=false;
?>
|