diff options
author | Aleksander Machniak <alec@alec.pl> | 2016-10-16 12:19:30 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2016-10-16 12:19:30 +0300 |
commit | 4e0532808de18f71e2fb5f654e3cd1d7d65fd499 (patch) | |
tree | af29f98ec0e09b006fbc14cfdd4c5e7f0de5d78a /plugins/managesieve | |
parent | 33addff3052389574cd057b95c708aef550a697d (diff) |
Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc (#5452)
Added memcache_max_allowed_packet and apc_max_allowed_packet settings
Diffstat (limited to 'plugins/managesieve')
-rw-r--r-- | plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php index db50330eb..0ceb7a72b 100644 --- a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php @@ -562,7 +562,7 @@ class rcube_sieve_engine if ($err == UPLOAD_ERR_INI_SIZE || $err == UPLOAD_ERR_FORM_SIZE) { $msg = $this->rc->gettext(array('name' => 'filesizeerror', 'vars' => array('size' => - $this->rc->show_bytes(parse_bytes(ini_get('upload_max_filesize')))))); + $this->rc->show_bytes(rcube_utils::max_upload_size())))); } else { $this->errors['file'] = $this->plugin->gettext('fileuploaderror'); |