aboutsummaryrefslogtreecommitdiffstats
path: root/library/openid.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/openid.php')
-rw-r--r--library/openid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/openid.php b/library/openid.php
index eec652bb1..3c58beb8a 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);