mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 19:26:53 +02:00
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:
@ -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))
|
||||
|
Reference in New Issue
Block a user