X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Fmodels%2Fdb-settings.php;h=6d16d1788dcf324d2c43341253cba366affd41ab;hb=4d7acf83795a57a89150d27d21ac86dcb4c33804;hp=0df3b94c8d6dd14b1cf387d114e55a56d9c3a836;hpb=1b3737962d2abeb9359d92de0977d0ca108ff05b;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/users/models/db-settings.php b/testing/MCTXWeb/public_html/users/models/db-settings.php index 0df3b94..6d16d17 100644 --- a/testing/MCTXWeb/public_html/users/models/db-settings.php +++ b/testing/MCTXWeb/public_html/users/models/db-settings.php @@ -8,9 +8,11 @@ http://usercake.com $db_host = "localhost"; //Host address (most likely localhost) $db_name = "users"; //Name of Database $db_user = "root"; //Name of database user -$db_pass = file_get_contents("mysql_password"); // TODO: Create that file or replace this line. +$db_pass = trim(file_get_contents("mysql_password"));// TODO: Create that file or replace this line. $db_table_prefix = "uc_"; + + GLOBAL $errors; GLOBAL $successes;