Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-4218 Disabling the check for admin dir

  • Loading branch information...
commit 71dbb2abb04d03ffd832b644149f42ef86a7a362 1 parent fdebc24
nicolasconnault authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  install.php
2  install.php
@@ -375,7 +375,7 @@
375 375 /// If we can open a file then we know that the admin name is correct.
376 376
377 377 if ($nextstage == ADMIN or $INSTALL['stage'] == ADMIN) {
378   - if (!ini_get('allow_url_fopen')) {
  378 + if (!ini_get('allow_url_fopen') || true) { // MDL-4218 fopen URL is not reliable
379 379 $nextstage = ($goforward) ? ENVIRONMENT : DATABASE;
380 380 } else if (($fh = @fopen($INSTALL['wwwrootform'].'/'.$INSTALL['admindirname'].'/site.html', 'r')) !== false) {
381 381 $nextstage = ($goforward) ? ENVIRONMENT : DATABASE;

0 comments on commit 71dbb2a

Please sign in to comment.
Something went wrong with that request. Please try again.