Skip to content

CURLOPT_FOLLOWLOCATION safe_mode and open_basedir errors#4

Open
kevinsperrine wants to merge 2 commits intowufoo:masterfrom
kevinsperrine:master
Open

CURLOPT_FOLLOWLOCATION safe_mode and open_basedir errors#4
kevinsperrine wants to merge 2 commits intowufoo:masterfrom
kevinsperrine:master

Conversation

@kevinsperrine
Copy link

I've added checks for open_basedir and safe_mode, and included an alternative follow method (http://php.net/manual/en/function.curl-setopt.php#102121) if either of these is enabled.

…ollow method

Since CURLOPT_FOLLOWLOCATION will cause an error when safe_mode or openbase_dir are active, I've added a check and substituted a different follow method from http://php.net/manual/en/function.curl-setopt.php#102121
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

Successfully merging this pull request may close these issues.

1 participant

Comments