From a0f6fa7987d9543ee74786b709935ddff6d35e91 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 17 Jan 2008 08:09:52 +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 5ec2e74b18b..23c035f4895 100644 --- a/install.php +++ b/install.php @@ -449,7 +449,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'].'/environment.xml', 'r')) !== false) { $nextstage = ($goforward) ? ENVIRONMENT : DATABASE;