diff options
author | Sharique Abdullah <shabeepk@gmail.com> | 2014-05-01 19:14:48 +0400 |
---|---|---|
committer | Sharique Abdullah <shabeepk@gmail.com> | 2014-05-01 19:14:48 +0400 |
commit | 8e4e90c5f6a1c064ae73ab6f9ad8a8ffcd692f17 (patch) | |
tree | 05f8ec38fd3eb9a310654f5e355ab2bf13f040d3 /core/ProxyHttp.php | |
parent | d9d737d1e9ea95e469e244a08073af690d0bb88a (diff) |
Fix for #5064
Fixing the FastCGI check in setHttpStatus function of ProxyHttp.php file.
Ticket #5064
Diffstat (limited to 'core/ProxyHttp.php')
-rw-r--r-- | core/ProxyHttp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ProxyHttp.php b/core/ProxyHttp.php index 7ebb7c7088..1f6bfb19af 100644 --- a/core/ProxyHttp.php +++ b/core/ProxyHttp.php @@ -221,7 +221,7 @@ class ProxyHttp */ protected static function setHttpStatus($status) { - if (strpos(PHP_SAPI, '-fcgi') !== false) { + if (strpos(PHP_SAPI, '-fcgi') === false) { @header($_SERVER['SERVER_PROTOCOL'] . ' ' . $status); } else { // FastCGI |