phpGSB
phpGSB copied to clipboard
CURLOPT_FOLLOWLOCATION
The curl won't redirect when it's needed to do it because of open_basedir.
CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in phpgsb.class.php on line 191
I think phpGSB must catch a redirect in this case (when CURLOPT_FOLLOWLOCATION impossible) and do the redirect manually.
Agreed, whilst Curl is really nice/useful I'll probably switch to one of the core libraries to remove the requirement completely. I've been working on the next version which allows for different database adapters so it'll be included with that. I'm away until the 24th but will at least get it pushed to a development branch when I get back.