Skip to content
Browse files

Merge pull request #1655 from dongilbert/chunkfix

Incorrect chunksize calculation. Fixes Issue #1562
  • Loading branch information...
2 parents cbc045c + 470c4fb commit 3317de8587df29f07d695ea01c481057a658d21f @pasamio pasamio committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/filesystem/file.php
View
2 libraries/joomla/filesystem/file.php
@@ -388,7 +388,7 @@ public static function write($file, &$buffer, $use_streams = false)
$stream = JFactory::getStream();
// Beef up the chunk size to a meg
- $stream->set('chunksize', (1024 * 1024 * 1024));
+ $stream->set('chunksize', (1024 * 1024));
if (!$stream->writeFile($file, $buffer))
{

0 comments on commit 3317de8

Please sign in to comment.
Something went wrong with that request. Please try again.