mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00: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:
parent
fc12c00219
commit
c5ba29e1fa
1 changed files with 1 additions and 1 deletions
|
@ -1315,7 +1315,7 @@ class session
|
||||||
{
|
{
|
||||||
return false;
|
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));
|
$ref = substr($ref, strlen($host));
|
||||||
if (!(stripos(rtrim($ref, '/'), rtrim($this->page['root_script_path'], '/')) === 0))
|
if (!(stripos(rtrim($ref, '/'), rtrim($this->page['root_script_path'], '/')) === 0))
|
||||||
|
|
Loading…
Add table
Reference in a new issue