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 @@
71
71
if( function_exists( 'file_get_contents' ) ) {
72
72
$errorLevel = error_reporting();
73
73
error_reporting( $errorLevel & !E_WARNING );
74
-
74
+
75
+ ini_set( 'allow_url_fopen', '1' );
75
76
$s = file_get_contents( $testUrl );
76
77
77
78
error_reporting( $errorLevel );
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r49700
Remove last of ini_set() for allow_url_fopen. This hasn't worked since PHP 4....
demon
16:02, 21 April 2009
Status & tagging log
17:18, 19 May 2009
Tim Starling
(
talk
|
contribs
)
changed the
status
of r50766
[
removed:
new
added:
ok]