summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authordeva <deva>2010-01-28 19:03:42 +0000
committerdeva <deva>2010-01-28 19:03:42 +0000
commitf97eb006ac33308abe6499ed72e381ae06f682ed (patch)
treefc4157eaebdc6ad02faed905e95b65bab93c5cf9 /utils
parent39453dcd2a09db7872919c8139f13e845c1a8df1 (diff)
Fixed error on last-changed.
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 3ac51b9..3d9a388 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($filename)));
+ header('Last-Modified: ' . date("F d Y H:i:s.", filemtime($fullfilename)));
readfile($fullfilename);
}