aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorMatt Beckett <beck24@gmail.com>2013-09-26 14:13:23 -0700
committerMatt Beckett <beck24@gmail.com>2013-09-26 14:13:23 -0700
commit12dbe2faa03281cc4c1c30d0f9635620676ac49a (patch)
treea5b474029bff9bf5071a4d2c0c1a599eabc04e21 /mod/profile
parent1150f831637c87322fcc85cb59758805d48c90e0 (diff)
downloadelgg-12dbe2faa03281cc4c1c30d0f9635620676ac49a.tar.gz
elgg-12dbe2faa03281cc4c1c30d0f9635620676ac49a.tar.bz2
change variable name for content length
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/icondirect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/icondirect.php b/mod/profile/icondirect.php
index 85221945a..5f1599e0d 100644
--- a/mod/profile/icondirect.php
+++ b/mod/profile/icondirect.php
@@ -61,7 +61,7 @@ if ($mysql_dblink) {
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', strtotime("+6 months")), true);
header("Pragma: public");
header("Cache-Control: public");
- header("Content-Length: $size");
+ header("Content-Length: $filesize");
header("ETag: \"$etag\"");
readfile($filename);
exit;