From f6f1eda4df968ce77c1d7c2e6d77524ac5ae6385 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 12 Sep 2017 19:11:39 +0200 Subject: [PATCH] minupd --- build/router/controller/ics.php | 2 +- build/router/controller/page.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/router/controller/ics.php b/build/router/controller/ics.php index 2e47eaa..24451e2 100644 --- a/build/router/controller/ics.php +++ b/build/router/controller/ics.php @@ -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); diff --git a/build/router/controller/page.php b/build/router/controller/page.php index 778ec1b..d7ef951 100644 --- a/build/router/controller/page.php +++ b/build/router/controller/page.php @@ -50,7 +50,7 @@ if( !file_exists(__ROOT__."/tmp/$id.ics") ) echo "$name
"; else - echo "$name
"; + echo "$name
"; }