fix bad function name
This commit is contained in:
parent
64b03439b5
commit
9c286feb5f
|
@ -1311,7 +1311,7 @@ function common_inject_session($url, $serverpart = null)
|
||||||
$serverpart = parse_url($url, PHP_URL_HOST);
|
$serverpart = parse_url($url, PHP_URL_HOST);
|
||||||
}
|
}
|
||||||
|
|
||||||
$currentServer = (array_has_key('HTTP_HOST')) ? $_SERVER['HTTP_HOST'] : null;
|
$currentServer = (array_key_exists('HTTP_HOST')) ? $_SERVER['HTTP_HOST'] : null;
|
||||||
|
|
||||||
// Are we pointing to another server (like an SSL server?)
|
// Are we pointing to another server (like an SSL server?)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user