aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-09 17:10:59 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-09 17:10:59 +0000
commite199f55ba2d3fcac361b2a546ed86061423cb990 (patch)
tree72771e6066c481e949d654f384019c3838062e38 /phpBB/includes/functions.php
parentd7a217c28cbe4a91cecbb0b0e329402527463ca8 (diff)
downloadforums-e199f55ba2d3fcac361b2a546ed86061423cb990.tar
forums-e199f55ba2d3fcac361b2a546ed86061423cb990.tar.gz
forums-e199f55ba2d3fcac361b2a546ed86061423cb990.tar.bz2
forums-e199f55ba2d3fcac361b2a546ed86061423cb990.tar.xz
forums-e199f55ba2d3fcac361b2a546ed86061423cb990.zip
#27395
git-svn-id: file:///svn/phpbb/trunk@8637 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3e1b3cf903..bdc081c593 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1722,7 +1722,7 @@ function generate_board_url($without_script_path = false)
if ($server_port && (($config['cookie_secure'] && $server_port <> 443) || (!$config['cookie_secure'] && $server_port <> 80)))
{
- // HTTP HOST can carry a port number...
+ // HTTP HOST can carry a port number (we fetch $user->host, but for old versions this may be true)
if (strpos($server_name, ':') === false)
{
$url .= ':' . $server_port;