mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-22 19:24:34 -04:00
API compatible lighttpd
https://github.com/marienfressinaud/FreshRSS/issues/443
This commit is contained in:
1 parent
ea99ac1259
commit
46efdc0974
3 files changed
+5
-2
No files matched your search
@@ -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)');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user