27375 - keep it up

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8556 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2008-05-15 14:17:17 +00:00
parent fc12c00219
commit c5ba29e1fa

View file

@ -1315,7 +1315,7 @@ class session
{
return false;
}
else if ($check_script_path && !empty(rtrim($this->page['root_script_path'], '/')))
else if ($check_script_path && rtrim($this->page['root_script_path'], '/') !== '' )
{
$ref = substr($ref, strlen($host));
if (!(stripos(rtrim($ref, '/'), rtrim($this->page['root_script_path'], '/')) === 0))