]> git.mjollnir.org Git - moodle.git/commitdiff
Removed a line from config.php
authormoodler <moodler>
Sun, 12 Jan 2003 06:31:07 +0000 (06:31 +0000)
committermoodler <moodler>
Sun, 12 Jan 2003 06:31:07 +0000 (06:31 +0000)
config-dist.php
lib/setup.php

index 7c5842070067f6a8e7bc92636381da5eb939c67b..9836dd99e5cd99ec746d21cb78c4f4e28f51fd1f 100644 (file)
@@ -70,8 +70,8 @@ $CFG->wwwroot   = "http://example.com/moodle";
 //\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
@@ -109,8 +109,7 @@ $CFG->buggy_referer = false;
 //=========================================================================\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
index 3164742eaf4b1a53a9aee5fbfdb371e07e5e6b8e..8332356ba8f1211ab55898365008a55851ad1370 100644 (file)
@@ -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);