]> git.mjollnir.org Git - moodle.git/commitdiff
Slight change to make packaging easier on Debian. :-)
authormoodler <moodler>
Fri, 5 Dec 2003 03:10:45 +0000 (03:10 +0000)
committermoodler <moodler>
Fri, 5 Dec 2003 03:10:45 +0000 (03:10 +0000)
admin/index.php

index b0cffd92f447d44f89b82ce2523cb82e6c1dbb07..6864a7c989ed10dd06218a88cebba7b2061ccaff 100644 (file)
@@ -54,7 +54,7 @@
 
 /// Check settings in config.php
 
-    $dirroot = dirname(realpath("../config.php"));
+    $dirroot = dirname(realpath("../index.php"));
     if (!empty($dirroot) and $dirroot != $CFG->dirroot) {
         error("Please fix your settings in config.php:
               <P>You have: