aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
diff options
context:
space:
mode:
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;
?>