From: paca70 Date: Fri, 22 Oct 2004 10:17:25 +0000 (+0000) Subject: Use dirroot to check admin directory X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=774c4d2bc3e06c02a823573171cb01398889e64e;p=moodle.git Use dirroot to check admin directory --- diff --git a/install.php b/install.php index 4916f1ae47..6d3fa5bfbd 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['wwwroot'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) { + if (($fh = @fopen($INSTALL['dirroot'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) { $nextstage = ($goforward) ? 5 : 3; fclose($fh); } else {