diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-05-15 14:17:17 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-05-15 14:17:17 +0000 |
commit | c5ba29e1faf708dc890fcc2acddf36ca25c321ab (patch) | |
tree | 8a2eccd285725010f9c9f8a7490a9d3b34b725b7 /phpBB/includes/session.php | |
parent | fc12c0021961f369090a3ea9fdcd62ef4d51505e (diff) | |
download | forums-c5ba29e1faf708dc890fcc2acddf36ca25c321ab.tar forums-c5ba29e1faf708dc890fcc2acddf36ca25c321ab.tar.gz forums-c5ba29e1faf708dc890fcc2acddf36ca25c321ab.tar.bz2 forums-c5ba29e1faf708dc890fcc2acddf36ca25c321ab.tar.xz forums-c5ba29e1faf708dc890fcc2acddf36ca25c321ab.zip |
27375 - keep it up
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8556 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 33fce6731b..66554f1ab5 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -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)) |