From: moodler Date: Sun, 12 Jan 2003 06:31:07 +0000 (+0000) Subject: Removed a line from config.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1685298e60a241daf72452e00747af47a64b2999;p=moodle.git Removed a line from config.php --- diff --git a/config-dist.php b/config-dist.php index 7c58420700..9836dd99e5 100644 --- a/config-dist.php +++ b/config-dist.php @@ -70,8 +70,8 @@ $CFG->wwwroot = "http://example.com/moodle"; // // $CFG->dirroot = "C:\Program Files\Easyphp\www\moodle" // -// Make sure all the upper/lower case is exactly the same as it is on your -// computer otherwise you may experience some problems (a known bug in PHP) +// NOTE: Make sure all the upper/lower case is EXACTLY the same as it is +// on your computer otherwise you may experience some problems (bug in PHP) $CFG->dirroot = "/web/moodle"; @@ -109,8 +109,7 @@ $CFG->buggy_referer = false; //========================================================================= -$CFG->libdir = "$CFG->dirroot/lib"; // Do not change this -require_once("$CFG->libdir/setup.php"); // Do not change this +require_once("$CFG->dirroot/lib/setup.php"); // Do not change this // MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, // RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE. diff --git a/lib/setup.php b/lib/setup.php index 3164742eaf..8332356ba8 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -15,6 +15,8 @@ /// Connect to the database using adodb + $CFG->libdir = "$CFG->dirroot/lib"; + require_once("$CFG->libdir/adodb/adodb.inc.php"); // Database access functions $db = &ADONewConnection($CFG->dbtype);