aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-03-03 12:03:26 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-03-03 12:03:26 -0500
commit71bdccf3471ed7ff97c4e636ce18e4a018894d38 (patch)
tree6136f6e7d5bd047b49aa01b88d7ee8181c624870 /lib/files
parentd8655a4248ac6746e802fad97384223a31c8819f (diff)
downloadnextcloud-server-71bdccf3471ed7ff97c4e636ce18e4a018894d38.tar.gz
nextcloud-server-71bdccf3471ed7ff97c4e636ce18e4a018894d38.zip
Chunk size comment should say kB, not MB
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php
index f48d0c8b225..3e2cb080e1d 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -199,7 +199,7 @@ class View {
@ob_end_clean();
$handle = $this->fopen($path, 'rb');
if ($handle) {
- $chunkSize = 8192; // 8 MB chunks
+ $chunkSize = 8192; // 8 kB chunks
while (!feof($handle)) {
echo fread($handle, $chunkSize);
flush();