diff options
Diffstat (limited to 'php/configuration.php')
-rw-r--r-- | php/configuration.php | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/php/configuration.php b/php/configuration.php index 09d1a06..236db70 100644 --- a/php/configuration.php +++ b/php/configuration.php @@ -1,24 +1,25 @@ <?php /*should be placed outside of document root*/ -$domain_name="localhost"; +$use_https=true; if (file_exists("/home/alex")) { - $database_name="alex"; - $database_username="alex"; - $database_password="lol"; - $database_location="127.0.0.1"; + $domain_name="localhost"; + $database_name="alex"; + $database_username="alex"; + $database_password="lol"; + $database_location="127.0.0.1"; - $storage_root = "/home/alex/fileup_storage"; + $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/"; + $domain_name="testing"; + $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*/ |