X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=27dc349db2df12977e428b9cedee672be9e8b281;hb=1c6535c0b45c32ccbb0e2bd49e5bb7a6d5435d27;hp=4121764f1a526b340fc1c4805aa705a0a8a0f97a;hpb=685a677bc91c38dc2f59d3565d6c413bca84629d;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 4121764f1a..27dc349db2 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -2,7 +2,7 @@ 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'); @@ -25,7 +25,6 @@ function hostxrd_init(&$a) { '$zot_post' => z_root() . '/post', '$bigkey' => salmon_key(get_config('system','site_pubkey')), )); - session_write_close(); exit(); }