From: Matt Beckett Date: Thu, 26 Sep 2013 21:13:23 +0000 (-0700) Subject: change variable name for content length X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=12dbe2faa03281cc4c1c30d0f9635620676ac49a;p=lorea%2Felgg.git change variable name for content length --- 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;