diff options
author | deva <deva> | 2010-01-29 20:08:11 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-29 20:08:11 +0000 |
commit | 78b13a45f627d8ff2003f3a439a8cb6e28583735 (patch) | |
tree | b325391cc6490e4128e48f8e03d7270e99c6adec /utils/imagecache.php | |
parent | c0b5f123b3a93b1291dc65aa9caf1c30957d8939 (diff) |
Fixe date format in last-modified http header.
Diffstat (limited to 'utils/imagecache.php')
-rw-r--r-- | utils/imagecache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/imagecache.php b/utils/imagecache.php index 3d9a388..8aaaba9 100644 --- a/utils/imagecache.php +++ b/utils/imagecache.php @@ -91,7 +91,7 @@ function getCachedImage($filename, $maxwidth, $maxheight) header('Content-Type: image/jpeg'); header('Content-Length: ' . filesize($fullfilename)); header('Content-Disposition: inline; filename=' . basename($filename)); - header('Last-Modified: ' . date("F d Y H:i:s.", filemtime($fullfilename))); + header('Last-Modified: ' . date("r", filemtime($fullfilename))); readfile($fullfilename); } |