Merge pull request #4352 from colemanw/CRM-15450
[civicrm-core.git] / CRM / Utils / HttpClient.php
index 3148c536058f9e9538ae72670abd21aef5991d1c..dc88f47559b7b8f58b972092bc9dd4f52e2007b2 100644 (file)
@@ -217,7 +217,7 @@ class CRM_Utils_HttpClient {
    * @return bool
    */
   public function isRedirectSupported() {
-    return (ini_get('open_basedir') == '') && (ini_get('safe_mode') == 'Off' || ini_get('safe_mode') === FALSE);
+    return (ini_get('open_basedir') == '') && (ini_get('safe_mode') == 'Off' || ini_get('safe_mode') == '' || ini_get('safe_mode') === FALSE);
   }
 
 }