aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-20 17:33:46 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-20 17:33:46 +0200
commit46efdc097464363252eb3941cbabe8a507291d02 (patch)
treec4d2d002b810c2a89344916f2a35775963ac9c97 /p/api/greader.php
parentea99ac1259083ff0a9eb6131d777454b54045626 (diff)
API compatible lighttpd
https://github.com/marienfressinaud/FreshRSS/issues/443
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 7a961225f..5a6fdad7d 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -135,6 +135,7 @@ function checkCompatibility() {
}
if ((!array_key_exists('HTTP_AUTHORIZATION', $_SERVER)) && //Apache mod_rewrite trick should be fine
(empty($_SERVER['SERVER_SOFTWARE']) || (stripos($_SERVER['SERVER_SOFTWARE'], 'nginx') === false)) && //nginx should be fine
+ (empty($_SERVER['SERVER_SOFTWARE']) || (stripos($_SERVER['SERVER_SOFTWARE'], 'lighttpd') === false)) && //lighttpd should be fine
((!function_exists('getallheaders')) || (stripos(php_sapi_name(), 'cgi') !== false))) { //Main problem is Apache/CGI mode
die('FAIL getallheaders! (probably)');
}