mirror of
https://github.com/friendica/friendica
synced 2025-05-21 14:24:13 +02: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
|
@ -570,7 +570,7 @@ class Contact
|
|||
{
|
||||
if (!parse_url($url, PHP_URL_SCHEME)) {
|
||||
$addr_parts = explode('@', $url);
|
||||
return (count($addr_parts) == 2) && ($addr_parts[1] == DI::baseUrl()->getHostname());
|
||||
return (count($addr_parts) == 2) && ($addr_parts[1] == DI::baseUrl()->getHost());
|
||||
}
|
||||
|
||||
return Strings::compareLink(self::getBasepath($url, true), DI::baseUrl());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue