From 476ae8a5723ecb9045a3cc7de8f7d05b5b9f6eb7 Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Thu, 19 Jan 2017 15:54:26 +0100 Subject: [PATCH] * [FIX] Solves #371. Wrong condition for using Apache headers. Thanks to @lukasp2 for the feedback --- inc/SP/Http/Request.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/SP/Http/Request.class.php b/inc/SP/Http/Request.class.php index d79cbcdd..1b8bbd7b 100644 --- a/inc/SP/Http/Request.class.php +++ b/inc/SP/Http/Request.class.php @@ -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(); }