X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2Fopenid.php;h=3c58beb8a5eccb63cc77102094fff4beb128e654;hb=daf27055b99237917685af298dc5fafbc82e01fe;hp=eec652bb18a7becda5971affec5856dd9d91c742;hpb=1b14c1733ba9fcd016eb7c8ed79a25633a5d08ae;p=friendica.git diff --git a/library/openid.php b/library/openid.php index eec652bb18..3c58beb8a5 100644 --- a/library/openid.php +++ b/library/openid.php @@ -276,7 +276,7 @@ class LightOpenID protected function request($url, $method='GET', $params=array()) { - if(function_exists('curl_init') && !ini_get('safe_mode')) { + if(function_exists('curl_init') && !ini_get('safe_mode') && (! strlen(ini_get('open_basedir')))) { return $this->request_curl($url, $method, $params); } return $this->request_streams($url, $method, $params);