From 46efdc097464363252eb3941cbabe8a507291d02 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 20 Aug 2014 17:33:46 +0200 Subject: API compatible lighttpd https://github.com/marienfressinaud/FreshRSS/issues/443 --- p/api/greader.php | 1 + 1 file changed, 1 insertion(+) (limited to 'p/api/greader.php') 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)'); } -- cgit v1.2.3