aboutsummaryrefslogtreecommitdiffstats
path: root/library/openid.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-01-03 09:45:13 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-01-03 09:45:13 +0100
commit43283fd35fb9987a1554612220f11a0875697bd4 (patch)
tree2e9db966f98a1187c6be74998ebd2905fe0a8c39 /library/openid.php
parentdcaf4003eca3fe4f958760587eefea52b171fab3 (diff)
parentd92659560b8edd0594b587103b43ad5bd5012639 (diff)
downloadvolse-hubzilla-43283fd35fb9987a1554612220f11a0875697bd4.tar.gz
volse-hubzilla-43283fd35fb9987a1554612220f11a0875697bd4.tar.bz2
volse-hubzilla-43283fd35fb9987a1554612220f11a0875697bd4.zip
Merge branch 'friendika-master'
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);