commit 93f3db938d01bd2e9634cac1caa83970b1535ac4
parent 79dcef4bb90961de94cf7c84d5f251caf35c5be8
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 31 Dec 2014 12:41:19 +0100
... see g+ login modul...
Diffstat:
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/core/libs/OpenID/openid.php b/core/libs/OpenID/openid.php
@@ -354,18 +354,8 @@ class LightOpenID
protected function request($url, $method='GET', $params=array(), $update_claimed_id=false)
{
- //if (function_exists('curl_init')
- // && (!in_array('https', stream_get_wrappers()) || !ini_get('safe_mode') && !ini_get('open_basedir'))
- //) {
- if (
- function_exists( 'curl_init' ) &&
- (
- !in_array( 'https', stream_get_wrappers() ) ||
- (
- !ini_get( 'safe_mode' ) &&
- !ini_get( 'open_basedir' )
- )
- )
+ if (function_exists('curl_init')
+ && (!in_array('https', stream_get_wrappers()) || !ini_get('safe_mode') && !ini_get('open_basedir'))
) {
return $this->request_curl($url, $method, $params, $update_claimed_id);
}