Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CURLOPT_FOLLOWLOCATION #3

Open
holden321 opened this issue Jul 30, 2013 · 1 comment
Open

CURLOPT_FOLLOWLOCATION #3

holden321 opened this issue Jul 30, 2013 · 1 comment

Comments

@holden321
Copy link

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.

@samcleaver
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants