aboutsummaryrefslogtreecommitdiffstats
path: root/library/openid.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2011-01-03 09:27:13 +0100
committerroot <root@diekershoff.homeunix.net>2011-01-03 09:27:13 +0100
commitf3005918aff04fc435d0f526bf235bd95468294c (patch)
treef334d76dbd89093d8448e13e62f8b094159e576c /library/openid.php
parent0b4a6f8eaca0d1396e7e944cd4735a573bd1d111 (diff)
parentd92659560b8edd0594b587103b43ad5bd5012639 (diff)
downloadvolse-hubzilla-f3005918aff04fc435d0f526bf235bd95468294c.tar.gz
volse-hubzilla-f3005918aff04fc435d0f526bf235bd95468294c.tar.bz2
volse-hubzilla-f3005918aff04fc435d0f526bf235bd95468294c.zip
Merge branch 'master' of git://github.com/friendika/friendika
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);