From e827b9ca58db5663096456b50e98151498b567cc Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 20 Jun 2007 18:49:54 +0000 Subject: [PATCH] *error_reporting() again...sigh --- includes/OutputPage.php | 4 ++++ 1 file changed, 4 insertions(+) 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 ); -- 2.20.1