Merge pull request #23258 from civicrm/5.49
[civicrm-core.git] / CRM / Core / Payment / FirstData.php
index 5b5d6b1802e39debcff7aa182463511db735a51b..f6968c7e71fc45a14beef86c214b4c2491a024bd 100644 (file)
@@ -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);
     }