From: Aaron Schulz Date: Wed, 20 Jun 2007 18:49:54 +0000 (+0000) Subject: *error_reporting() again...sigh X-Git-Tag: 1.31.0-rc.0~52483 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=e827b9ca58db5663096456b50e98151498b567cc;p=lhc%2Fweb%2Fwiklou.git *error_reporting() again...sigh --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index b1a280e3d3..d0724515ec 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -157,7 +157,11 @@ class OutputPage { # Wed, 20 Aug 2003 06:51:19 GMT; length=5202 # this breaks strtotime(). $modsince = preg_replace( '/;.*$/', '', $_SERVER["HTTP_IF_MODIFIED_SINCE"] ); + + $oe_level = error_reporting(E_ALL); //grrrr $modsinceTime = strtotime( $modsince ); + error_reporting($oe_level); //grrrr + $ismodsince = wfTimestamp( TS_MW, $modsinceTime ? $modsinceTime : 1 ); wfDebug( "$fname: -- client send If-Modified-Since: " . $modsince . "\n", false ); wfDebug( "$fname: -- we might send Last-Modified : $lastmod\n", false );