X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=16f132fe092ff2a871fcc3a0e15fe67cffbe84c6;hb=80a4e6263fd53f83a710d2a2e6c57baae38cb14b;hp=f31497557d7bd98503ec166c3def6bbf2216ff89;hpb=acb4630eed14175ef35f09e21609d6329f3f990c;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index f31497557d..16f132fe09 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,34 +1,33 @@ get_hostname(),System::baseUrl(),System::baseUrl(),System::baseUrl() . '/post', salmon_key(Config::get('system','site_pubkey'))),$tpl);*/ $tpl = get_markup_template('xrd_host.tpl'); - echo replace_macros($tpl, array( + echo replace_macros($tpl, [ '$zhost' => $a->get_hostname(), '$zroot' => System::baseUrl(), '$domain' => System::baseUrl(), - '$zot_post' => System::baseUrl() . '/post', - '$bigkey' => salmon_key(Config::get('system','site_pubkey')), - )); - exit(); + '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))] + ); + exit(); }