From: Chad Horohoe Date: Tue, 19 May 2009 14:51:42 +0000 (+0000) Subject: Partial revert of r49700: per Tim, this should probably stay, since it is likely... X-Git-Tag: 1.31.0-rc.0~41748 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=388bff3903e9a09188e6b36e480e78d93942633e;p=lhc%2Fweb%2Fwiklou.git Partial revert of r49700: per Tim, this should probably stay, since it is likely to still work in a PHP4 environment. --- diff --git a/includes/templates/PHP4.php b/includes/templates/PHP4.php index fb794a3745..058351a006 100644 --- a/includes/templates/PHP4.php +++ b/includes/templates/PHP4.php @@ -70,7 +70,8 @@ if ( $baseUrl ) { if( function_exists( 'file_get_contents' ) ) { $errorLevel = error_reporting(); error_reporting( $errorLevel & !E_WARNING ); - + + ini_set( 'allow_url_fopen', '1' ); $s = file_get_contents( $testUrl ); error_reporting( $errorLevel );