diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-08 17:18:32 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-08 17:18:32 +0000 |
| commit | f5f293ee602c7e2aa7594a6984577b9ac2f8d040 (patch) | |
| tree | ff1c538c59531af94e9337cbdd8d0687d96c0b20 /roundcubemail/program/lib | |
| parent | ebcb788e3b7cc08597a1f19e7acf34c3ec1f01bb (diff) | |
Distinguish ssl and tls for imap connections (#1484667)
git-svn-id: https://svn.roundcube.net/trunk@1031 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
| -rw-r--r-- | roundcubemail/program/lib/imap.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc index 11ab370d9..a2a63d92e 100644 --- a/roundcubemail/program/lib/imap.inc +++ b/roundcubemail/program/lib/imap.inc @@ -49,6 +49,7 @@ - Sanity check of $message_set in iil_C_FetchHeaders(), iil_C_FetchHeaderIndex(), iil_C_FetchThreadHeaders() - Implemented UID FETCH in iil_C_FetchHeaders() - Abort do-loop on socket errors (fgets returns false) + - $ICL_SSL is not boolean anymore but contains the connection schema (ssl or tls) - Removed some debuggers (echo ...) ********************************************************/ @@ -455,7 +456,7 @@ function iil_Connect($host, $user, $password) { //check for SSL if ($ICL_SSL) { - $host = "ssl://".$host; + $host = $ICL_SSL."://".$host; } //open socket connection |
