mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Added: ResponseCollection::getCapabilityResult()
Bugfix: ResponseCollection $oResult => $this Removed safe_mode detection Speedup: ImapClient::partialParseResponseBranch() and partialResponseLiteralCallbackCallable()
This commit is contained in:
parent
b9c019e05c
commit
cd3d8b94b2
6 changed files with 177 additions and 234 deletions
|
|
@ -471,10 +471,8 @@ class Client {
|
|||
|
||||
// TODO rainloop
|
||||
$curl = curl_init($url);
|
||||
$sSafeMode = strtolower(trim(@ini_get('safe_mode')));
|
||||
$bSafeMode = 'on' === $sSafeMode || '1' === $sSafeMode;
|
||||
|
||||
if (!$bSafeMode && ini_get('open_basedir') === '')
|
||||
if (ini_get('open_basedir') === '')
|
||||
{
|
||||
curl_setopt_array($curl, $settings);
|
||||
$data = curl_exec($curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue