X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=16f132fe092ff2a871fcc3a0e15fe67cffbe84c6;hb=e0b33b36a21d7803353692372d7ceb90683d8888;hp=9b2411f26692a659b2b15c573356348158f1903c;hpb=e9c86c0fd0fb87b49e60669e6d4be810ca426ec4;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 9b2411f266..16f132fe09 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -1,23 +1,33 @@ get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl); - session_write_close(); - exit(); + $tpl = get_markup_template('xrd_host.tpl'); + echo replace_macros($tpl, [ + '$zhost' => $a->get_hostname(), + '$zroot' => System::baseUrl(), + '$domain' => System::baseUrl(), + '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))] + ); -} \ No newline at end of file + exit(); +}