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