diff --git a/install.php b/install.php index 983a4f664c4..e7af2c55a07 100644 --- a/install.php +++ b/install.php @@ -217,7 +217,7 @@ if ($INSTALL['stage'] == DIRECTORY) { error_reporting(0); /// check wwwroot - if (ini_get('allow_url_fopen')) { + if (ini_get('allow_url_fopen') && false) { /// This was not reliable if (($fh = @fopen($INSTALL['wwwrootform'].'/install.php', 'r')) === false) { $errormsg .= get_string('wwwrooterror', 'install').'
'; $INSTALL['wwwrootform'] = $INSTALL['wwwroot'];