Only close the session if it had been opened.

This commit is contained in:
Michael Vogel 2016-08-16 21:35:12 +02:00
commit 1bfdc216d0
3 changed files with 7 additions and 4 deletions

View file

@ -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();
}