aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/icon.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-10 18:40:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-10 18:40:48 +0000
commit0ed7f169716897418226dedbaa674ab39a209bc3 (patch)
treee7f91a355ed7c30583cd7d2607f920ef3a011442 /mod/profile/icon.php
parent4f9b21086724b36505ea7e3195501c1c95771c00 (diff)
downloadelgg-0ed7f169716897418226dedbaa674ab39a209bc3.tar.gz
elgg-0ed7f169716897418226dedbaa674ab39a209bc3.tar.bz2
Content length on images
git-svn-id: https://code.elgg.org/elgg/trunk@2435 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/icon.php')
-rw-r--r--mod/profile/icon.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/profile/icon.php b/mod/profile/icon.php
index 33a5cde7f..2cf857132 100644
--- a/mod/profile/icon.php
+++ b/mod/profile/icon.php
@@ -46,7 +46,8 @@
header("Content-type: image/jpeg");
header('Expires: ' . date('r',time() + 864000));
header("Pragma: public");
- header("Cache-Control: public");
+ header("Cache-Control: public");
+ header("Content-Length: " . strlen($contents));
echo $contents;
?> \ No newline at end of file