Skip to content
Browse files

MDL-4218 Disabling the check for admin dir

  • Loading branch information...
1 parent 4a1cbc6 commit a0f6fa7987d9543ee74786b709935ddff6d35e91 nicolasconnault committed Jan 17, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.php
View
2 install.php
@@ -449,7 +449,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'].'/environment.xml', 'r')) !== false) {
$nextstage = ($goforward) ? ENVIRONMENT : DATABASE;

0 comments on commit a0f6fa7

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