remove calendar file after sending
This commit is contained in:
parent
8752d3bec7
commit
4acfa008dd
|
@ -22,5 +22,10 @@
|
||||||
header("Content-disposition: attachment;filename=$calendar_filename");
|
header("Content-disposition: attachment;filename=$calendar_filename");
|
||||||
header('Content-Type: text/calendar');
|
header('Content-Type: text/calendar');
|
||||||
readfile($calendar_filename);
|
readfile($calendar_filename);
|
||||||
|
|
||||||
|
ob_end_flush();
|
||||||
|
flush();
|
||||||
|
|
||||||
|
unlink($calendar_filename);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue