From 5a3e4273d66f3f07fb142d5ef83041dc0d06e93d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 14 Aug 2003 00:59:09 +0000 Subject: [PATCH] Added a pathMod variable to db_init so that files in /forums could use it properly. svn path=/trunk/boinc/; revision=2097 --- html/user/db.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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();