mirror of
https://github.com/friendica/friendica
synced 2025-05-08 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
|
@ -33,7 +33,7 @@ class NodeInfo
|
|||
Logger::info('start');
|
||||
ModelNodeInfo::update();
|
||||
// Now trying to register
|
||||
$url = 'http://the-federation.info/register/' . DI::baseUrl()->getHostname();
|
||||
$url = 'http://the-federation.info/register/' . DI::baseUrl()->getHost();
|
||||
Logger::debug('Check registering url', ['url' => $url]);
|
||||
$ret = DI::httpClient()->fetch($url, HttpClientAccept::HTML);
|
||||
Logger::debug('Check registering answer', ['answer' => $ret]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue