From b7b1aba3fbc56a87c95beefb50051f4d40e00443 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Fri, 26 Feb 2016 14:45:07 +0000 Subject: [PATCH] FIX undeclared constant issue --- core/Constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Constants.php b/core/Constants.php index a7e1b92aa..b166c629c 100644 --- a/core/Constants.php +++ b/core/Constants.php @@ -185,7 +185,7 @@ if(!isset($_SERVER['HTTP_HOST'])) { if (TRUSTED_PROXY && !empty($_SERVER[$trustedProxyHeader])) { // Get the first host, in case there's multiple separated through commas - $_SERVER['HTTP_HOST'] = strtok($_SERVER[SS_TRUSTED_PROXY_HOST_HEADER], ','); + $_SERVER['HTTP_HOST'] = strtok($_SERVER[$trustedProxyHeader], ','); } }