Fix fatal errors caused by PR 8019

This commit is contained in:
Michael 2019-12-30 01:17:16 +00:00
parent 03038e7a3b
commit 74f4637ff3
6 changed files with 6 additions and 6 deletions

View file

@ -29,7 +29,7 @@ class HostMeta extends BaseModule
$tpl = Renderer::getMarkupTemplate('xrd_host.tpl');
echo Renderer::replaceMacros($tpl, [
'$zhost' => DI::baseUrl()->getHostname()(),
'$zhost' => DI::baseUrl()->getHostname(),
'$zroot' => DI::baseUrl()->get(),
'$domain' => DI::baseUrl()->get(),
'$bigkey' => Salmon::salmonKey($config->get('system', 'site_pubkey'))