Skip to content

Commit

Permalink
Use dirroot to check admin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
paca70 committed Oct 22, 2004
1 parent 2df3a72 commit 774c4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.php
Expand Up @@ -262,7 +262,7 @@
/// If we can open a file then we know that the admin name is correct. /// If we can open a file then we know that the admin name is correct.


if ($nextstage == 4 or $INSTALL['stage'] == 4) { 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; $nextstage = ($goforward) ? 5 : 3;
fclose($fh); fclose($fh);
} else { } else {
Expand Down

0 comments on commit 774c4d2

Please sign in to comment.