mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 06:47:05 +08:00
Prevent notices in MailSo\Net\ConnectSettings
This commit is contained in:
parent
115437fb6a
commit
95ce1b15ef
1 changed files with 3 additions and 3 deletions
|
@ -68,9 +68,9 @@ class ConnectSettings
|
|||
$object->host = $aSettings['Host'];
|
||||
$object->port = $aSettings['Port'];
|
||||
$object->type = $aSettings['Secure'];
|
||||
$object->ssl['verify_peer'] = !!$aSettings['VerifySsl'];
|
||||
$object->ssl['verify_peer_name'] = !!$aSettings['VerifySsl'];
|
||||
$object->ssl['allow_self_signed'] = !!$aSettings['AllowSelfSigned'];
|
||||
$object->ssl['verify_peer'] = !empty($aSettings['VerifySsl']);
|
||||
$object->ssl['verify_peer_name'] = !empty($aSettings['VerifySsl']);
|
||||
$object->ssl['allow_self_signed'] = !empty($aSettings['AllowSelfSigned']);
|
||||
if (!empty($aSettings['ClientCert'])) {
|
||||
$object->ssl['local_cert'] = $aSettings['ClientCert'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue