mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
This commit is contained in:
parent
2900389696
commit
50be94aa5e
23 changed files with 34 additions and 50 deletions
|
@ -30,7 +30,7 @@ class HostMeta extends BaseModule
|
|||
|
||||
$tpl = Renderer::getMarkupTemplate('xrd_host.tpl');
|
||||
echo Renderer::replaceMacros($tpl, [
|
||||
'$zhost' => $app->getHostName(),
|
||||
'$zhost' => DI::baseUrl()->getHostname()(),
|
||||
'$zroot' => $app->getBaseURL(),
|
||||
'$domain' => $app->getBaseURL(),
|
||||
'$bigkey' => Salmon::salmonKey($config->get('system', 'site_pubkey'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue