MDL-4218 Disabling the check for web root URL

This commit is contained in:
nicolasconnault
2008-01-17 07:48:14 +00:00
parent 761ed63243
commit fdebc24f38
+1 -1
View File
@@ -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').'<br />';
$INSTALL['wwwrootform'] = $INSTALL['wwwroot'];