git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8559 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2008-05-17 14:34:32 +00:00
parent 2f5297751a
commit 2c9ab1ac68

View file

@ -1316,7 +1316,7 @@ class session
{
return false;
}
else if ($check_script_path && rtrim($this->page['root_script_path'], '/') !== '' )
else if ($check_script_path && rtrim($this->page['root_script_path'], '/') !== '')
{
$ref = substr($ref, strlen($host));
$server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT');