Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Incorrect chunksize calculation. Fixes Issue #1562 #1655

Merged
merged 1 commit into from Oct 31, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -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))
{