Browse files

MDL-4218 Disabling the check for admin dir

  • Loading branch information...
1 parent fdebc24 commit 71dbb2abb04d03ffd832b644149f42ef86a7a362 nicolasconnault committed Jan 17, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.php
View
2 install.php
@@ -375,7 +375,7 @@
/// If we can open a file then we know that the admin name is correct.
if ($nextstage == ADMIN or $INSTALL['stage'] == ADMIN) {
- if (!ini_get('allow_url_fopen')) {
+ if (!ini_get('allow_url_fopen') || true) { // MDL-4218 fopen URL is not reliable
$nextstage = ($goforward) ? ENVIRONMENT : DATABASE;
} else if (($fh = @fopen($INSTALL['wwwrootform'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) {
$nextstage = ($goforward) ? ENVIRONMENT : DATABASE;

0 comments on commit 71dbb2a

Please sign in to comment.