Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Incorrect chunksize calculation. Fixes Issue #1562 #1655

Merged
merged 1 commit into from

2 participants

@dongilbert
Collaborator

No description provided.

@pasamio pasamio merged commit 3317de8 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 31, 2012
  1. @dongilbert
This page is out of date. Refresh to see the latest.
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))
{
Something went wrong with that request. Please try again.