]> git.mxchange.org Git - friendica.git/blobdiff - mod/hostxrd.php
Moved the functions update_db and run_update_function to a Friendica\Core\Update...
[friendica.git] / mod / hostxrd.php
index 1da8fda998095d9673f8f81d073561245faf778b..30343381c393c9ff119c4cc637a93bf121a17ac1 100644 (file)
@@ -22,11 +22,11 @@ function hostxrd_init(App $a)
        }
 
        $tpl = get_markup_template('xrd_host.tpl');
-       echo replace_macros($tpl, array(
-               '$zhost' => $a->get_hostname(),
+       echo replace_macros($tpl, [
+               '$zhost' => $a->getHostName(),
                '$zroot' => System::baseUrl(),
                '$domain' => System::baseUrl(),
-               '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey')))
+               '$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey'))]
        );
 
        exit();