mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-25 23:58:39 +00:00
Re-evaluate base after root path change
This commit is contained in:
parent
8f0688f46d
commit
31812f701c
|
|
@ -247,6 +247,7 @@ final class Http implements UriInterface
|
|||
public function setRootPath(string $root) : void
|
||||
{
|
||||
$this->rootPath = \rtrim($root, '/');
|
||||
$this->base = $this->scheme . '://' . $this->host . ($this->port !== 80 ? ':' . $this->port : '') . $this->rootPath;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user