rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit b5bfc90c169dc63bd23187924203065d31d7212c
parent 93f3db938d01bd2e9634cac1caa83970b1535ac4
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 31 Dec 2014 13:06:51 +0100

debug the code :/

Diffstat:
Mcore/libs/OpenID/openid.php | 15+++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/core/libs/OpenID/openid.php b/core/libs/OpenID/openid.php @@ -354,8 +354,18 @@ 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); } @@ -418,6 +428,7 @@ class LightOpenID # We'll jump a maximum of 5 times, to avoid endless redirections. for ($i = 0; $i < 5; $i ++) { + echo "Schleife"; if ($yadis) { $headers = $this->request($url, 'HEAD', array(), true);