CRM-14126 - Correct problem with isRedirectSupported() returning an erroneous FALSE...
authorDave Greenberg <dave@civicrm.org>
Wed, 13 Aug 2014 01:07:29 +0000 (18:07 -0700)
committerDave Greenberg <dave@civicrm.org>
Wed, 13 Aug 2014 01:07:29 +0000 (18:07 -0700)
----------------------------------------
* CRM-14126:
  https://issues.civicrm.org/jira/browse/CRM-14126

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);
   }
 
 }