diff options
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc index 27fcd181c..d3f6344a3 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -307,7 +307,7 @@ function file_transfer($source, $headers) { // Transfer file in 1024 byte chunks to save memory usage. $fd = fopen($source, 'rb'); while (!feof($fd)) { - print fgets($fd); + print fgets($fd, 1024); } fclose($fd); exit(); |