mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/12487] Update PHP code
PHPBB3-12487
This commit is contained in:
@@ -87,8 +87,7 @@ class jabber
|
||||
*/
|
||||
static public function can_use_ssl()
|
||||
{
|
||||
// Will not work with PHP >= 5.2.1 or < 5.2.3RC2 until timeout problem with ssl hasn't been fixed (http://bugs.php.net/41236)
|
||||
return ((version_compare(PHP_VERSION, '5.2.1', '<') || version_compare(PHP_VERSION, '5.2.3RC2', '>=')) && @extension_loaded('openssl')) ? true : false;
|
||||
return @extension_loaded('openssl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user