Url: Return basePath in method getBaseUrl if url is internal
refs #12133
This commit is contained in:
parent
f6f90822d6
commit
4dd9c05882
|
@ -412,7 +412,7 @@ class Url
|
|||
public function getBaseUrl()
|
||||
{
|
||||
if (!$this->isExternal()) {
|
||||
return '';
|
||||
return $this->getBasePath();
|
||||
}
|
||||
|
||||
return $this->getScheme() . '://' . $this->getHost() . ($this->getPort() ? (':' . $this->getPort()) : '');
|
||||
|
|
Loading…
Reference in New Issue