From 3d2fcf90878b3eea83b7173b75b9bdab5ab54f6a Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Fri, 26 Feb 2016 14:45:07 +0000 Subject: [PATCH] Fixing 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 70d698623..5215ecd39 100644 --- a/core/Constants.php +++ b/core/Constants.php @@ -183,7 +183,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], ','); } }