]> git.mxchange.org Git - friendica.git/blobdiff - mod/hostxrd.php
Use short form array syntax everywhere
[friendica.git] / mod / hostxrd.php
index 1da8fda998095d9673f8f81d073561245faf778b..16f132fe092ff2a871fcc3a0e15fe67cffbe84c6 100644 (file)
@@ -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();