aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-11 19:43:06 +0200
committeradam <adam@>2021-02-11 19:43:06 +0200
commitd538c3041c6c7d05a9328ace960838aa194879d9 (patch)
tree0b070027c9e758ed1783012c43c58070b39595f5 /php/configuration.php
parentd35678c131d4547cea8b3d9fcc1978dec0d2d903 (diff)
parentf1cd0085cd8dba8b25818fc998d315b28e6c13a5 (diff)
downloadfileup-d538c3041c6c7d05a9328ace960838aa194879d9.tar.gz
setting up
Diffstat (limited to 'php/configuration.php')
-rw-r--r--php/configuration.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/php/configuration.php b/php/configuration.php
index 90face8..425dd10 100644
--- a/php/configuration.php
+++ b/php/configuration.php
@@ -3,15 +3,29 @@
$domain_name="localhost";
+<<<<<<< HEAD
+=======
+if (file_exists("/home/alex")) {
+ $database_name="alex";
+ $database_username="alex";
+ $database_password="lol";
+ $database_location="127.0.0.1";
+>>>>>>> f1cd0085cd8dba8b25818fc998d315b28e6c13a5
+
+ $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;
?>