X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=93a9d833c9626426826b4b983789f2f0fae9845b;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=0403945efcc0ed7b422889d2426fc4eaf9209f4c;hpb=6d3ced63894ebac84851b594e8bf80cc4677f9c5;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 0403945efc..93a9d833c9 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,30 +1,34 @@ $a->get_hostname(), + $tpl = Renderer::getMarkupTemplate('xrd_host.tpl'); + echo Renderer::replaceMacros($tpl, [ + '$zhost' => $a->getHostName(), '$zroot' => System::baseUrl(), '$domain' => System::baseUrl(), - '$bigkey' => salmon_key(Config::get('system','site_pubkey')), - )); - exit(); + '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))] + ); + exit(); }