X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=f31497557d7bd98503ec166c3def6bbf2216ff89;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=c9f870a08c1d3235c4c3431cee64d33cfb7f203f;hpb=7a9456d5ac2e73229b2237074c700731c63661a6;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index c9f870a08c..f31497557d 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,31 +1,33 @@ get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl);*/ + '$zhost','$zroot','$domain','$zot_post','$bigkey'),array($a->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( '$zhost' => $a->get_hostname(), - '$zroot' => z_root(), - '$domain' => z_path(), - '$zot_post' => z_root() . '/post', - '$bigkey' => salmon_key(get_config('system','site_pubkey')), + '$zroot' => System::baseUrl(), + '$domain' => System::baseUrl(), + '$zot_post' => System::baseUrl() . '/post', + '$bigkey' => salmon_key(Config::get('system','site_pubkey')), )); exit();