mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Code refactoring
Threads sorting Big mailbox optimazations Added "labs.imap_message_list_date_filter" Added "labs.imap_message_list_count_limit_trigger" Added "labs.imap_message_list_hide_deleted_messages"
This commit is contained in:
parent
4569190691
commit
290cf38b97
9 changed files with 389 additions and 624 deletions
|
|
@ -30,7 +30,7 @@ class Service
|
|||
private function __construct()
|
||||
{
|
||||
$this->oHttp = \MailSo\Base\Http::SingletonInstance();
|
||||
$this->oActions = Actions::NewInstance();
|
||||
$this->oActions = \RainLoop\Api::Actions();
|
||||
|
||||
\set_error_handler(array(&$this, 'LogPhpErrorHandler'));
|
||||
|
||||
|
|
@ -42,11 +42,7 @@ class Service
|
|||
\ini_set('display_errors', 1);
|
||||
}
|
||||
|
||||
if ($this->oActions->Config()->Get('labs', 'disable_iconv_if_mbstring_supported', false) &&
|
||||
\class_exists('MailSo\Capa') && \MailSo\Base\Utils::IsMbStringSupported())
|
||||
{
|
||||
\MailSo\Config::$ICONV = false;
|
||||
}
|
||||
\RainLoop\Api::SetupDefaultMailSoConfig();
|
||||
|
||||
$sServer = \trim($this->oActions->Config()->Get('security', 'custom_server_signature', ''));
|
||||
if (0 < \strlen($sServer))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue