Merge pull request #2050 from owncloud/fix-readfile-comment

Chunk size comment should say kB, not MB
This commit is contained in:
Bernhard Posselt 2013-03-03 09:22:49 -08:00
commit 3021d9b146
1 changed files with 1 additions and 1 deletions

View File

@ -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();