mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
adapt BaseURL constructor
This commit is contained in:
parent
3e0efc9c7c
commit
f9f86e04ff
1 changed files with 2 additions and 4 deletions
|
@ -44,11 +44,9 @@ class BaseURL extends Uri implements UriInterface
|
|||
$url = ServerRequest::getUriFromGlobals()
|
||||
->withQuery('')
|
||||
->withPath($this->determineURLPath($server));
|
||||
|
||||
parent::__construct((string)$url);
|
||||
} else {
|
||||
parent::__construct($url);
|
||||
}
|
||||
|
||||
parent::__construct($url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue