From: moodler Date: Mon, 10 Jan 2005 08:04:44 +0000 (+0000) Subject: Fixing the admin directory check (again ;-)) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=985c93197cfacbc985d15700683859b57c09cdd5;p=moodle.git Fixing the admin directory check (again ;-)) --- diff --git a/install.php b/install.php index 17f1b64cf1..8dc07c5470 100644 --- a/install.php +++ b/install.php @@ -262,7 +262,7 @@ if ($INSTALL['stage'] == 3) { /// If we can open a file then we know that the admin name is correct. if ($nextstage == 4 or $INSTALL['stage'] == 4) { - if (($fh = @fopen($INSTALL['dirroot'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) { + if (($fh = @fopen($INSTALL['wwwroot'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) { $nextstage = ($goforward) ? 5 : 3; fclose($fh); } else {