* [FIX] Solves #371. Wrong condition for using Apache headers. Thanks to @lukasp2 for the feedback

This commit is contained in:
nuxsmin
2017-01-19 15:54:26 +01:00
parent adf57f7fd0
commit 476ae8a572

View File

@@ -164,7 +164,7 @@ class Request
*/
public static function getApacheHeaders()
{
if (!function_exists('\apache_request_headers')) {
if (function_exists('\apache_request_headers')) {
return apache_request_headers();
}