From: moodler Date: Fri, 5 Dec 2003 03:10:45 +0000 (+0000) Subject: Slight change to make packaging easier on Debian. :-) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cf3eb7c310cd890ede6d4a252479716333b5b1fc;p=moodle.git Slight change to make packaging easier on Debian. :-) --- diff --git a/admin/index.php b/admin/index.php index b0cffd92f4..6864a7c989 100644 --- a/admin/index.php +++ b/admin/index.php @@ -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:

You have: