X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=27dc349db2df12977e428b9cedee672be9e8b281;hb=9259feec6f4b0a24c15f971a3dc8fa54f4f08141;hp=4121764f1a526b340fc1c4805aa705a0a8a0f97a;hpb=453082516e90aba59553fd4392b2cdfed6ae9a57;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(); }