diff options
Diffstat (limited to 'lib/private/httphelper.php')
-rw-r--r-- | lib/private/httphelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/httphelper.php b/lib/private/httphelper.php index 8b7aebb3d4d..dfc1bcf47cd 100644 --- a/lib/private/httphelper.php +++ b/lib/private/httphelper.php @@ -72,7 +72,7 @@ class HTTPHelper { curl_setopt($curl, CURLOPT_PROXYUSERPWD, $proxyUserPwd); } - if (ini_get('open_basedir') === '' && (ini_get('safe_mode') === false) || strtolower(ini_get('safe_mode')) === 'off') { + if (ini_get('open_basedir') === '') { curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_MAXREDIRS, $max_redirects); $data = curl_exec($curl); |