From 8c633404f687abc86274ecd1c2444027d1afc077 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Tue, 12 Aug 2014 18:07:29 -0700 Subject: [PATCH] CRM-14126 - Correct problem with isRedirectSupported() returning an erroneous FALSE result. ---------------------------------------- * CRM-14126: https://issues.civicrm.org/jira/browse/CRM-14126 --- CRM/Utils/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/HttpClient.php b/CRM/Utils/HttpClient.php index 3148c53605..dc88f47559 100644 --- a/CRM/Utils/HttpClient.php +++ b/CRM/Utils/HttpClient.php @@ -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); } } -- 2.25.1