From 9e2bba5de510108cad294c3c3f58d0490e61ba0b Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Sun, 20 Sep 2015 17:33:22 +0200 Subject: [PATCH] close #19 fixed IGB Header data on WinOS installation --- app/main/controller/controller.php | 11 +++++++---- app/pathfinder.ini | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/main/controller/controller.php b/app/main/controller/controller.php index 5d10bbcc..75652256 100644 --- a/app/main/controller/controller.php +++ b/app/main/controller/controller.php @@ -105,7 +105,7 @@ class Controller { } /** - * extract all eve IGB specific header data + * get all eve IGB specific header data * @return object */ static function getIGBHeaderData(){ @@ -115,9 +115,12 @@ class Controller { $headerData = apache_request_headers(); foreach($headerData as $key => $value){ - if (strpos($key, 'EVE_') === 0) { - $key = str_replace('EVE_', '', $key); - $key = strtolower($key); + $key = strtolower($key); + $key = str_replace('eve_', 'eve-', $key); + + + if (strpos($key, 'eve-') === 0) { + $key = str_replace('eve-', '', $key); if ( $key === 'trusted' && diff --git a/app/pathfinder.ini b/app/pathfinder.ini index 1d07643b..2b4812f1 100644 --- a/app/pathfinder.ini +++ b/app/pathfinder.ini @@ -1,7 +1,7 @@ [PATHFINDER] NAME = "PATHFINDER" ; installed version (used for CSS/JS cache busting) -VERSION = "v0.0.9" +VERSION = "v0.0.10" ; contact information (DO NOT CHANGE) CONTACT = "https://github.com/exodus4d" ; source code (DO NOT CHANGE)