FIX undeclared constant issue

This commit is contained in:
Daniel Hensby 2016-02-26 14:45:07 +00:00 committed by Damian Mooyman
parent 8c12b6f992
commit c2a0e8945f

View File

@ -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], ',');
}
}