]> 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 c4378e063853310ae3893042089431d4f2dbbf06..c9f870a08c1d3235c4c3431cee64d33cfb7f203f 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 require_once('include/crypto.php');
 
 function hostxrd_init(App $a) {
@@ -7,7 +9,7 @@ function hostxrd_init(App $a) {
        header("Content-type: text/xml");
        $pubkey = get_config('system','site_pubkey');
 
-       if (! $pubkey) {
+       if(! $pubkey) {
                $res = new_keypair(1024);
 
                set_config('system','site_prvkey', $res['prvkey']);