]> git.mxchange.org Git - friendica.git/blobdiff - mod/hostxrd.php
use /servers instead of /siteinfo for the directory link in invitations
[friendica.git] / mod / hostxrd.php
index 647073b056e3774b1431ab98208ac5c486283275..c9f870a08c1d3235c4c3431cee64d33cfb7f203f 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 
+use Friendica\App;
+
 require_once('include/crypto.php');
 
-function hostxrd_init(&$a) {
+function hostxrd_init(App $a) {
        header('Access-Control-Allow-Origin: *');
        header("Content-type: text/xml");
        $pubkey = get_config('system','site_pubkey');