From 388bff3903e9a09188e6b36e480e78d93942633e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 19 May 2009 14:51:42 +0000 Subject: [PATCH] Partial revert of r49700: per Tim, this should probably stay, since it is likely to still work in a PHP4 environment. --- includes/templates/PHP4.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1