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
"; }