]> git.mjollnir.org Git - moodle.git/commitdiff
If prefix isn't defined in config.php then define it as "" to avoid
authormoodler <moodler>
Wed, 1 Jan 2003 09:29:05 +0000 (09:29 +0000)
committermoodler <moodler>
Wed, 1 Jan 2003 09:29:05 +0000 (09:29 +0000)
problems with upgraders who don't edit config.php

lib/setup.php

index 89f61859b14c12cfd493b3fad032be355b8bc8e5..16a3dc8df553959377888d71a26519b891a02fe1 100644 (file)
         die;
     }
 
+    if (!isset($CFG->prefix)) {   // Just in case it isn't defined in config.php
+        $CFG->prefix = "";
+    }
+
+
 
 /// Load up standard libraries