From d3e4293d43ca8bd63e6fd2a10d6363485fe2eb6c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 26 Feb 2010 17:46:46 +0100 Subject: remove useless variable in download() Signed-off-by: Florian Pritz --- system/application/controllers/file.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system/application/controllers') diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index 7d9ca24ec..96165eb55 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -193,8 +193,7 @@ class File extends Controller { header('Etag: "'.$etag.'"'); $fp = fopen($file,"r"); while (!feof($fp)) { - $buff = fread($fp,4096); - echo $buff; + echo fread($fp,4096); } fclose($fp); } -- cgit v1.2.3-24-g4f1b