X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPayment%2FFirstData.php;h=f6968c7e71fc45a14beef86c214b4c2491a024bd;hb=19a93bccf7714cb49387b48ecef29ce52e3f00df;hp=5b5d6b1802e39debcff7aa182463511db735a51b;hpb=eee12f817583225ca96ccf7ef5368d5a307b54a5;p=civicrm-core.git diff --git a/CRM/Core/Payment/FirstData.php b/CRM/Core/Payment/FirstData.php index 5b5d6b1802..f6968c7e71 100644 --- a/CRM/Core/Payment/FirstData.php +++ b/CRM/Core/Payment/FirstData.php @@ -222,7 +222,7 @@ class CRM_Core_Payment_FirstData extends CRM_Core_Payment { curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 36000); // ensures any Location headers are followed - if (ini_get('open_basedir') == '' && ini_get('safe_mode') == 'Off') { + if (ini_get('open_basedir') == '') { curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); }