From 2e43b5d9871312b118e6e53bea7c6926ddce6397 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 18 Jan 2003 14:24:40 +0000 Subject: [PATCH] Better notification and continue button is more useful --- admin/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)."\";", + "./"); } -- 2.39.5