Closed hackolein closed 9 years ago
Instead of removing the option completely, you can replace it with this method https://php.net/manual/en/function.curl-setopt.php#95027
Can you do this?
Yes, i have added the function and works with open_basedir!
Thanks for your work!
Fix the curl option "CURLOPT_FOLLOWLOCATION", because if you use "open_basedir", it is not allowed to use this curl option.
Now the curl option "CURLOPT_FOLLOWLOCATION" will only used if the there is no "open_basedir" is in use.