no download (file only)

This commit is contained in:
xdrm-brackets 2017-09-12 19:09:11 +02:00
parent 49748484e0
commit 9bd6b5083a
2 changed files with 2 additions and 2 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.'.ics');
// header('Content-Disposition: attachment; filename='.$this->diplome_id.'.ics');
/* (2) Body */
readfile($file_name);

View File

@ -11,7 +11,7 @@
"arguments": {}
},
"/ics/{diplome_id}": {
"/ics/{diplome_id}.ics": {
"methods": ["GET"],
"controller": "ics:download",
"arguments": {