added .ics to file name when downloading
This commit is contained in:
parent
b357363998
commit
8460ba237d
|
@ -37,7 +37,7 @@
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
/* (1) Headers */
|
/* (1) Headers */
|
||||||
header('Content-Type: text/calendar; charset=utf-8');
|
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 */
|
/* (2) Body */
|
||||||
readfile($file_name);
|
readfile($file_name);
|
||||||
|
|
Loading…
Reference in New Issue