Closed meloniq closed 10 years ago
I have on my hosts set open_basedir and getting errors about CURLOPT_FOLLOWLOCATION when trying to use OpenID login options...
CURLOPT_FOLLOWLOCATION
CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set...
Code: https://github.com/thenbrent/social-connect/blob/master/openid/openid.php#L138
Tested login with commented this parameter, and looks like everything works good without it, so...
maybe You could add check for safe_mode and open_basedir?!
if( !ini_get('safe_mode') && !ini_get('open_basedir') ) curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
Thanks for reporting, but this issue is related with LightOpenID, a third-party library social-connect uses handle the OpenID protocol.
https://gitorious.org/lightopenid
I have on my hosts set open_basedir and getting errors about
CURLOPT_FOLLOWLOCATION
when trying to use OpenID login options...CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set...
Code: https://github.com/thenbrent/social-connect/blob/master/openid/openid.php#L138
Tested login with commented this parameter, and looks like everything works good without it, so...
maybe You could add check for safe_mode and open_basedir?!