projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475364e
)
CRM_Utils_HttpClient - Fix detection of safe-mode (which in turn determines whether...
author
Tim Otten
<totten@civicrm.org>
Wed, 26 Mar 2014 07:05:41 +0000
(
00:05
-0700)
committer
Tim Otten
<totten@civicrm.org>
Wed, 26 Mar 2014 07:05:41 +0000
(
00:05
-0700)
CRM/Utils/HttpClient.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/HttpClient.php
b/CRM/Utils/HttpClient.php
index e9b1a1bdd243878ff23c1851f8f96998d971797e..823c995222c4b57ba605c2d8c58a6150c8de82a4 100644
(file)
--- a/
CRM/Utils/HttpClient.php
+++ b/
CRM/Utils/HttpClient.php
@@
-206,7
+206,7
@@
class CRM_Utils_HttpClient {
}
public function isRedirectSupported() {
- return
ini_get('open_basedir') == '' && ini_get('safe_mode') == 'Off'
;
+ return
(ini_get('open_basedir') == '') && (ini_get('safe_mode') == 'Off' || ini_get('safe_mode') === FALSE)
;
}
}