Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/ProxyHttp.php')
-rw-r--r--core/ProxyHttp.php2
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