X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=16f132fe092ff2a871fcc3a0e15fe67cffbe84c6;hb=c207f6d59732e690b9e7ff68c5e6eeb0c6488a79;hp=d41d8448050b7befb8e670f2a2302b14f46edaae;hpb=42c2e09382d3b2846a0cb709d88cda97e717424f;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index d41d844805..16f132fe09 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,30 +1,33 @@ get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('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' => z_root(), - '$domain' => z_path(), - '$zot_post' => z_root() . '/post', - '$bigkey' => salmon_key(get_config('system','site_pubkey')), - )); - exit(); + '$zroot' => System::baseUrl(), + '$domain' => System::baseUrl(), + '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))] + ); + exit(); }