mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
Adapt BaseURL calls to new UriInterface
This commit is contained in:
parent
9e6d95284b
commit
f0c29edcde
101 changed files with 218 additions and 241 deletions
|
@ -61,7 +61,7 @@ class Fetch extends BaseModule
|
|||
}
|
||||
$host = $parts["scheme"] . "://" . $parts["host"];
|
||||
|
||||
if (Strings::normaliseLink($host) != Strings::normaliseLink(DI::baseUrl()->get())) {
|
||||
if (Strings::normaliseLink($host) != Strings::normaliseLink(DI::baseUrl())) {
|
||||
$location = $host . "/fetch/" . DI::args()->getArgv()[1] . "/" . urlencode($guid);
|
||||
System::externalRedirect($location, 301);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue