This commit is contained in:
xdrm-brackets 2017-09-12 19:11:39 +02:00
parent 9bd6b5083a
commit f6f1eda4df
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

@ -50,7 +50,7 @@
if( !file_exists(__ROOT__."/tmp/$id.ics") )
echo "<span>$name</span><br>";
else
echo "<a href='/ics/$id' disabled>$name</a><br>";
echo "<a href='/ics/$id.ics' disabled>$name</a><br>";
}