added .ics to file name when downloading

This commit is contained in:
xdrm-brackets 2017-09-12 18:45:43 +02:00
parent b357363998
commit 8460ba237d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
=========================================================*/
/* (1) Headers */
header('Content-Type: text/calendar; charset=utf-8');
header('Content-Disposition: attachment; filename='.$this->diplome_id);
header('Content-Disposition: attachment; filename='.$this->diplome_id.'.ics');
/* (2) Body */
readfile($file_name);