mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/11647] Allow custom ports
Allow custom port number in schema-relative URLs PHPBB3-11647
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user