r50766 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50765‎ | r50766 | r50767 >
Date:14:51, 19 May 2009
Author:demon
Status:ok
Tags:
Comment:
Partial revert of r49700: per Tim, this should probably stay, since it is likely to still work in a PHP4 environment.
Modified paths:
  • /trunk/phase3/includes/templates/PHP4.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/templates/PHP4.php
@@ -70,7 +70,8 @@
7171 if( function_exists( 'file_get_contents' ) ) {
7272 $errorLevel = error_reporting();
7373 error_reporting( $errorLevel & !E_WARNING );
74 -
 74+
 75+ ini_set( 'allow_url_fopen', '1' );
7576 $s = file_get_contents( $testUrl );
7677
7778 error_reporting( $errorLevel );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49700Remove last of ini_set() for allow_url_fopen. This hasn't worked since PHP 4....demon16:02, 21 April 2009

Status & tagging log