From: Dave Greenberg Date: Wed, 13 Aug 2014 01:07:29 +0000 (-0700) Subject: CRM-14126 - Correct problem with isRedirectSupported() returning an erroneous FALSE... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8c633404f687abc86274ecd1c2444027d1afc077;p=civicrm-core.git CRM-14126 - Correct problem with isRedirectSupported() returning an erroneous FALSE result. ---------------------------------------- * CRM-14126: https://issues.civicrm.org/jira/browse/CRM-14126 --- 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); } }