Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Merge pull request #1655 from dongilbert/chunkfix
Browse files Browse the repository at this point in the history
Incorrect chunksize calculation. Fixes Issue #1562
  • Loading branch information
pasamio committed Oct 31, 2012
2 parents cbc045c + 470c4fb commit 3317de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/filesystem/file.php
Expand Up @@ -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))
{
Expand Down

0 comments on commit 3317de8

Please sign in to comment.