From: moodler Date: Sat, 18 Jan 2003 14:24:40 +0000 (+0000) Subject: Better notification and continue button is more useful X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2e43b5d9871312b118e6e53bea7c6926ddce6397;p=moodle.git Better notification and continue button is more useful --- diff --git a/admin/index.php b/admin/index.php index df13826f60..53fccfbe04 100644 --- a/admin/index.php +++ b/admin/index.php @@ -37,12 +37,12 @@ $dirroot = dirname(realpath("../config.php")); if ($dirroot != $CFG->dirroot) { - $dirroot = addslashes($dirroot); error("Please fix your settings in config.php:

You have: -

\$CFG->dirroot = \"$CFG->dirroot\"; +

\$CFG->dirroot = \"".addslashes($CFG->dirroot)."\";

but it should be: -

\$CFG->dirroot = \"$dirroot\";"); +

\$CFG->dirroot = \"".addslashes($dirroot)."\";", + "./"); }