Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1655 from dongilbert/chunkfix

Incorrect chunksize calculation. Fixes Issue #1562
  • Loading branch information...
commit 3317de8587df29f07d695ea01c481057a658d21f 2 parents cbc045c + 470c4fb
@pasamio pasamio authored
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))
{
Please sign in to comment.
Something went wrong with that request. Please try again.