summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-04-14 08:03:39 +0000
committeralecpl <alec@alec.pl>2009-04-14 08:03:39 +0000
commit8b961eef049fae0c8afefbc6ea057910aad1fa60 (patch)
tree3d640159d721dfe213314b81301f66642e51c693 /program/include/rcube_imap.php
parentf86e8f5faa0fb5926001f2dccd970e031e7cb59a (diff)
- use extension_loaded() instead of get_loaded_extensions()
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 637e25b92..da7c5bf88 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -97,7 +97,7 @@ class rcube_imap
global $ICL_SSL, $ICL_PORT, $IMAP_USE_INTERNAL_DATE;
// check for Open-SSL support in PHP build
- if ($use_ssl && in_array('openssl', get_loaded_extensions()))
+ if ($use_ssl && extension_loaded('openssl'))
$ICL_SSL = $use_ssl == 'imaps' ? 'ssl' : $use_ssl;
else if ($use_ssl)
{