X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhostxrd.php;h=647073b056e3774b1431ab98208ac5c486283275;hb=a9bed1422e0a476df17a9e6edefce1925404184d;hp=5b178e9b8f668be56980435db6d75a3dc78592eb;hpb=db949bb802448184bfe5164d8d3dd86ddf51b187;p=friendica.git diff --git a/mod/hostxrd.php b/mod/hostxrd.php index 5b178e9b8f..647073b056 100644 --- a/mod/hostxrd.php +++ b/mod/hostxrd.php @@ -2,7 +2,6 @@ require_once('include/crypto.php'); -if(! function_exists('hostxrd_init')) { function hostxrd_init(&$a) { header('Access-Control-Allow-Origin: *'); header("Content-type: text/xml"); @@ -26,7 +25,6 @@ function hostxrd_init(&$a) { '$zot_post' => z_root() . '/post', '$bigkey' => salmon_key(get_config('system','site_pubkey')), )); - session_write_close(); exit(); -} + }