From 71dbb2abb04d03ffd832b644149f42ef86a7a362 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 17 Jan 2008 08:09:53 +0000 Subject: [PATCH] MDL-4218 Disabling the check for admin dir --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index e7af2c55a07..33f7b1f91c8 100644 --- a/install.php +++ b/install.php @@ -375,7 +375,7 @@ if ($INSTALL['stage'] == DATABASE) { /// 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;