aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-01-29 15:07:18 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-01-29 15:07:18 +0200
commit9f0a624ea66aa329a78c464f08d99f63c7282ee8 (patch)
treef645f99ac9b9fb503d98df782525b75c7bae45f7 /php/configuration.php
parentd14f3109973c7d95a15174db1a1346887765988d (diff)
parent8ba2c35a306719932307ec5f99701101637e1fd2 (diff)
downloadfileup-9f0a624ea66aa329a78c464f08d99f63c7282ee8.tar.gz
Merge branch 'live'
Diffstat (limited to 'php/configuration.php')
-rw-r--r--php/configuration.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/php/configuration.php b/php/configuration.php
index 6b87508..89efb2a 100644
--- a/php/configuration.php
+++ b/php/configuration.php
@@ -3,15 +3,21 @@
$domain_name="localhost";
-$database_name="adam";
-$database_username="adam";
-$database_password="asdfd";
-$database_location="127.0.0.1";
-
+if (file_exists("/home/alex")) {
+ $database_name="alex";
+ $database_username="alex";
+ $database_password="lol";
+ $database_location="127.0.0.1";
+}
+else {
+ $database_name="adam";
+ $database_username="adam";
+ $database_password="asdfd";
+ $database_location="127.0.0.1";
+}
$password_hash_algo=PASSWORD_BCRYPT;
-
$has_email_verification=false;
?>