summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authordeva <deva>2010-01-29 20:08:11 +0000
committerdeva <deva>2010-01-29 20:08:11 +0000
commit78b13a45f627d8ff2003f3a439a8cb6e28583735 (patch)
treeb325391cc6490e4128e48f8e03d7270e99c6adec /utils
parentc0b5f123b3a93b1291dc65aa9caf1c30957d8939 (diff)
Fixe date format in last-modified http header.
Diffstat (limited to 'utils')
-rw-r--r--utils/imagecache.php2
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);
}