summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}