Index: trunk/core/kernel/processors/main_processor.php =================================================================== diff -u -N -r8860 -r8924 --- trunk/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 8860) +++ trunk/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 8924) @@ -1000,8 +1000,8 @@ $nextyear = intval(date('Y') + 1); $format = "D, d M Y H:i:s"; - $expiration = gmdate($format, gmmktime() + $params['cache']).' GMT'; - $last_modified = gmmktime(); + $expiration = gmdate($format, mktime() + $params['cache']).' GMT'; + $last_modified = mktime(); header ('Cache-Control: public, cache, max-age='.$params['cache']); header ("Expires: $expiration"); @@ -1013,7 +1013,7 @@ // Checking if the client is validating his cache and if it is current. if (isset($headers['If-Modified-Since']) && (strtotime($headers['If-Modified-Since']) > $last_modified-$params['cache'])) { // Client's cache IS current, so we just respond '304 Not Modified'. - header('Last-Modified: '.gmdate($format, strtotime($headers['If-Modified-Since'])).' GMT', true, 304); + header('Last-Modified: '.date($format, strtotime($headers['If-Modified-Since'])).' GMT', true, 304); exit(); } else { // Image not cached or cache outdated, we respond '200 OK' and output the image.