summaryrefslogtreecommitdiff
path: root/utils/imagecache.php
diff options
context:
space:
mode:
Diffstat (limited to 'utils/imagecache.php')
-rw-r--r--utils/imagecache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/imagecache.php b/utils/imagecache.php
index ba5fcb2..3ac51b9 100644
--- a/utils/imagecache.php
+++ b/utils/imagecache.php
@@ -87,11 +87,11 @@ function getCachedImage($filename, $maxwidth, $maxheight)
}
}
-
header('Content-Description: File Transfer');
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)));
readfile($fullfilename);
}