Skip to content

Commit

Permalink
FIX undeclared constant issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby authored and Damian Mooyman committed Feb 27, 2016
1 parent 9e0037d commit bd48d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Constants.php
Expand Up @@ -183,7 +183,7 @@ function stripslashes_recursively(&$array) {

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

Expand Down

0 comments on commit bd48d89

Please sign in to comment.