no download (file only)
This commit is contained in:
parent
49748484e0
commit
9bd6b5083a
|
@ -37,7 +37,7 @@
|
|||
=========================================================*/
|
||||
/* (1) Headers */
|
||||
header('Content-Type: text/calendar; charset=utf-8');
|
||||
header('Content-Disposition: attachment; filename='.$this->diplome_id.'.ics');
|
||||
// header('Content-Disposition: attachment; filename='.$this->diplome_id.'.ics');
|
||||
|
||||
/* (2) Body */
|
||||
readfile($file_name);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"arguments": {}
|
||||
},
|
||||
|
||||
"/ics/{diplome_id}": {
|
||||
"/ics/{diplome_id}.ics": {
|
||||
"methods": ["GET"],
|
||||
"controller": "ics:download",
|
||||
"arguments": {
|
||||
|
|
Loading…
Reference in New Issue