diff options
-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 |