r23131 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23130‎ | r23131 | r23132 >
Date:18:49, 20 June 2007
Author:aaron
Status:old
Tags:
Comment:
*error_reporting() again...sigh
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -157,7 +157,11 @@
158158 # Wed, 20 Aug 2003 06:51:19 GMT; length=5202
159159 # this breaks strtotime().
160160 $modsince = preg_replace( '/;.*$/', '', $_SERVER["HTTP_IF_MODIFIED_SINCE"] );
 161+
 162+ $oe_level = error_reporting(E_ALL); //grrrr
161163 $modsinceTime = strtotime( $modsince );
 164+ error_reporting($oe_level); //grrrr
 165+
162166 $ismodsince = wfTimestamp( TS_MW, $modsinceTime ? $modsinceTime : 1 );
163167 wfDebug( "$fname: -- client send If-Modified-Since: " . $modsince . "\n", false );
164168 wfDebug( "$fname: -- we might send Last-Modified : $lastmod\n", false );

Follow-up revisions

RevisionCommit summaryAuthorDate
r23203Merged revisions 23120-23202 via svnmerge from...david09:07, 22 June 2007

Status & tagging log