Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use dirroot to check admin directory

  • Loading branch information...
commit 774c4d2bc3e06c02a823573171cb01398889e64e 1 parent 2df3a72
paca70 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  install.php
View
2  install.php
@@ -262,7 +262,7 @@
/// 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 {
Please sign in to comment.
Something went wrong with that request. Please try again.