joomla-framework / http

Joomla Framework Http Package
GNU General Public License v2.0
17 stars 21 forks source link

Add a check for safe_mode or open_basedir #14

Closed mbabker closed 9 years ago

mbabker commented 9 years ago

Prevents a Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /vendor/joomla/http/src/Transport/Curl.php on line 155 message in PHP 5.3 when open_basedir is set or safe_mode is enabled.