summaryrefslogtreecommitdiffstats
path: root/system/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-02-26 17:46:46 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-02-26 17:46:46 +0100
commitd3e4293d43ca8bd63e6fd2a10d6363485fe2eb6c (patch)
tree76fd908db64bfa8444e4650d0864da4bf3a8e1b3 /system/application/controllers
parent83bdc4bc426e838498bb89d3d2daa50463bf192b (diff)
remove useless variable in download()
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/controllers')
-rw-r--r--system/application/controllers/file.php3
1 files changed, 1 insertions, 2 deletions
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);
}