mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
add port to base path
This commit is contained in:
parent
bddeff5a0c
commit
87ed2174d8
|
|
@ -174,7 +174,7 @@ final class Http implements UriInterface
|
|||
$this->query = \array_change_key_case($this->query, CASE_LOWER);
|
||||
|
||||
$this->fragment = $url['fragment'] ?? '';
|
||||
$this->base = $this->scheme . '://' . $this->host . $this->rootPath;
|
||||
$this->base = $this->scheme . '://' . $this->host . ($this->port !== 80 ? ':' . $this->port : '') . $this->rootPath;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user