parent
c8d3aa2517
commit
776d06d6ca
|
@ -150,7 +150,7 @@ class Url
|
||||||
: '');
|
: '');
|
||||||
$urlObject->setIsExternal();
|
$urlObject->setIsExternal();
|
||||||
} elseif (
|
} elseif (
|
||||||
(isset($urlParts['host]']) && $urlParts['host'] !== $request->getServer('SERVER_NAME'))
|
(isset($urlParts['host']) && $urlParts['host'] !== $request->getServer('SERVER_NAME'))
|
||||||
|| (isset($urlParts['port']) && $urlParts['port'] != $request->getServer('SERVER_PORT'))
|
|| (isset($urlParts['port']) && $urlParts['port'] != $request->getServer('SERVER_PORT'))
|
||||||
) {
|
) {
|
||||||
$baseUrl = $urlParts['host'] . (isset($urlParts['port']) ? (':' . $urlParts['port']) : '');
|
$baseUrl = $urlParts['host'] . (isset($urlParts['port']) ? (':' . $urlParts['port']) : '');
|
||||||
|
|
Loading…
Reference in New Issue