diff options
author | Marc Delisle <marc@infomarc.info> | 2013-12-26 18:08:23 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2013-12-26 18:08:23 +0400 |
commit | 8021f31e36f95afde4d05be7ecab7d1db08ba63c (patch) | |
tree | 0c291dadbb226f2b7968d018f29e59921b1c5758 /export.php | |
parent | 0bce0511739b0da6df88d2c0bfaa11c2bb42d55b (diff) |
bug #4201 Exports are not compressed
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'export.php')
-rw-r--r-- | export.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/export.php b/export.php index 70aecccdbf..bd6f9d687f 100644 --- a/export.php +++ b/export.php @@ -440,7 +440,7 @@ if (!defined('TESTSUITE')) { $memory_limit = trim(@ini_get('memory_limit')); $memory_limit_num = (int)substr($memory_limit, 0, -1); // 2 MB as default - if (empty($memory_limit)) { + if (empty($memory_limit) || '-1' == $memory_limit) { $memory_limit = 2 * 1024 * 1024; } elseif (strtolower(substr($memory_limit, -1)) == 'm') { $memory_limit = $memory_limit_num * 1024 * 1024; |