X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=16f132fe092ff2a871fcc3a0e15fe67cffbe84c6;hb=abd7b2666c1ba79d44db0e71b369433cf8c8e678;hp=1da8fda998095d9673f8f81d073561245faf778b;hpb=6925299e5a52464cc39eddd431be6e9e498f80ed;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 1da8fda998..16f132fe09 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -22,11 +22,11 @@ function hostxrd_init(App $a) } $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(), - '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))) + '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))] ); exit();