From 3485e74805d0783a1e40269b161eb24a91ac1d9e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 14 Sep 2017 17:15:08 +0200 Subject: [PATCH] restore .ics format header --- build/router/controller/ics.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/router/controller/ics.php b/build/router/controller/ics.php index 2f0e188..aa326fb 100644 --- a/build/router/controller/ics.php +++ b/build/router/controller/ics.php @@ -39,13 +39,11 @@ /* [2] Display file =========================================================*/ /* (1) Headers */ - // header('Content-Type: text/calendar; charset=utf-8'); - // header('Content-Disposition: attachment; filename='.$this->diplome_id.'.ics'); + header('Content-Type: text/calendar; charset=utf-8'); + header('Content-Disposition: attachment; filename='.$this->diplome_id.'.ics'); /* (2) Body */ - echo "
";
 			readfile($file_name);
-			echo "
"; }