diff --git a/html/user/db.inc b/html/user/db.inc
index f1d925834d..0c17fd0681 100644
--- a/html/user/db.inc
+++ b/html/user/db.inc
@@ -1,15 +1,17 @@
"); // TODO: Change to a specific db for testing.
+ $db_name = parse_config("", $pathMod);
if(!mysql_select_db($db_name)) {
echo "Unable to select database - please try again later";
exit();