aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-07-11 16:56:10 -0400
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-07-11 16:56:10 -0400
commit94fc0cccdc49962e3111e291de8800a0d2d50837 (patch)
tree2f419c15b9101f7b3dbac30e7f1851b4b6746db8
parent4fbdac0b9e8089574cd3617c6c8294a54dac1abc (diff)
downloadforums-94fc0cccdc49962e3111e291de8800a0d2d50837.tar
forums-94fc0cccdc49962e3111e291de8800a0d2d50837.tar.gz
forums-94fc0cccdc49962e3111e291de8800a0d2d50837.tar.bz2
forums-94fc0cccdc49962e3111e291de8800a0d2d50837.tar.xz
forums-94fc0cccdc49962e3111e291de8800a0d2d50837.zip
[ticket/11647] Allow custom ports
Allow custom port number in schema-relative URLs PHPBB3-11647
-rw-r--r--phpBB/includes/template/asset.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/phpBB/includes/template/asset.php b/phpBB/includes/template/asset.php
index f3b18a102a..99ac1f0ca7 100644
--- a/phpBB/includes/template/asset.php
+++ b/phpBB/includes/template/asset.php
@@ -40,10 +40,6 @@ class phpbb_template_asset
{
// Workaround for PHP 5.4.6 and older bug #62844 - add fake scheme and then remove it
$this->components = parse_url('http:' . $url);
- if (isset($this->components['port']))
- {
- return;
- }
unset($this->components['scheme']);
return;
}