Increase magic contstant to avoid problems with compression of some specific data (bug #1477029).
This commit is contained in:
@@ -15,6 +15,8 @@ $Source$
|
||||
themes/darkblue_orange/css/theme_right.css.php,
|
||||
themes/original/css/theme_right.css.php: Not so wide login form (RFE
|
||||
#1445541).
|
||||
* import.php, export.php: Increase magic contstant to avoid problems with
|
||||
compression of some specific data (bug #1477029).
|
||||
|
||||
2006-05-14 Michal Čihař <michal@cihar.com>
|
||||
* libraries/common.lib.php: Fix reading database list with MySQL wildcards
|
||||
|
@@ -218,7 +218,7 @@ if ($onfly_compression) {
|
||||
}
|
||||
|
||||
// Some memory is needed for compression, assume 1/3
|
||||
$memory_limit *= 2/3;
|
||||
$memory_limit /= 8;
|
||||
}
|
||||
|
||||
// Generate filename and mime type if needed
|
||||
|
@@ -204,7 +204,7 @@ if (strtolower(substr($memory_limit, -1)) == 'm') {
|
||||
$memory_limit = (int)$memory_limit;
|
||||
}
|
||||
|
||||
$read_limit = $memory_limit / 4; // Just to be sure, there might be lot of memory needed for uncompression
|
||||
$read_limit = $memory_limit / 8; // Just to be sure, there might be lot of memory needed for uncompression
|
||||
|
||||
// handle filenames
|
||||
if (!empty($local_import_file) && !empty($cfg['UploadDir'])) {
|
||||
|
Reference in New Issue
Block a user