//\r
// $CFG->dirroot = "C:\Program Files\Easyphp\www\moodle"\r
//\r
-// Make sure all the upper/lower case is exactly the same as it is on your\r
-// computer otherwise you may experience some problems (a known bug in PHP)\r
+// NOTE: Make sure all the upper/lower case is EXACTLY the same as it is \r
+// on your computer otherwise you may experience some problems (bug in PHP)\r
\r
$CFG->dirroot = "/web/moodle";\r
\r
//=========================================================================\r
\r
\r
-$CFG->libdir = "$CFG->dirroot/lib"; // Do not change this\r
-require_once("$CFG->libdir/setup.php"); // Do not change this\r
+require_once("$CFG->dirroot/lib/setup.php"); // Do not change this\r
\r
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, \r
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.\r
/// 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);