diff options
| author | 2014-08-20 17:33:46 +0200 | |
|---|---|---|
| committer | 2014-08-20 17:33:46 +0200 | |
| commit | 46efdc097464363252eb3941cbabe8a507291d02 (patch) | |
| tree | c4d2d002b810c2a89344916f2a35775963ac9c97 /p/api/greader.php | |
| parent | ea99ac1259083ff0a9eb6131d777454b54045626 (diff) | |
API compatible lighttpd
https://github.com/marienfressinaud/FreshRSS/issues/443
Diffstat (limited to 'p/api/greader.php')
| -rw-r--r-- | p/api/greader.php | 1 |
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)'); } |
