diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-05-17 14:35:23 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-05-17 14:35:23 +0000 |
commit | ae060e8aefb7d0bbb276518cb4a78e1e130d1580 (patch) | |
tree | 0bd5267713b8818d914a38985735cbdd39ad1a5f /phpBB | |
parent | 2c9ab1ac686c11b3bcc3bbad4e4a8c2446ee4bf5 (diff) | |
download | forums-ae060e8aefb7d0bbb276518cb4a78e1e130d1580.tar forums-ae060e8aefb7d0bbb276518cb4a78e1e130d1580.tar.gz forums-ae060e8aefb7d0bbb276518cb4a78e1e130d1580.tar.bz2 forums-ae060e8aefb7d0bbb276518cb4a78e1e130d1580.tar.xz forums-ae060e8aefb7d0bbb276518cb4a78e1e130d1580.zip |
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8560 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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 661d87357f..2eafdc7e80 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -1320,7 +1320,7 @@ class session { $ref = substr($ref, strlen($host)); $server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT'); - if ($server_port !== 80 && $server_port !== 443 && stripos($ref , ":$server_port") === 0) + if ($server_port !== 80 && $server_port !== 443 && stripos($ref, ":$server_port") === 0) { $ref = substr($ref, strlen(":$server_port")); } |