adapt BaseURL constructor
This commit is contained in:
@@ -44,11 +44,9 @@ class BaseURL extends Uri implements UriInterface
|
|||||||
$url = ServerRequest::getUriFromGlobals()
|
$url = ServerRequest::getUriFromGlobals()
|
||||||
->withQuery('')
|
->withQuery('')
|
||||||
->withPath($this->determineURLPath($server));
|
->withPath($this->determineURLPath($server));
|
||||||
|
|
||||||
parent::__construct((string)$url);
|
|
||||||
} else {
|
|
||||||
parent::__construct($url);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
parent::__construct($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user