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)