diff --git a/build/service/Updater.php b/build/service/Updater.php index 56b4e19..8101f21 100644 --- a/build/service/Updater.php +++ b/build/service/Updater.php @@ -43,6 +43,8 @@ =========================================================*/ foreach($this->config->getDiplomes() as $d_id=>$d_name){ + file_put_contents(__ROOT__."/tmp/$d_id.ics", "BEGIN:VCALENDAR", FILE_APPEND); + /* (1) Browse each date ---------------------------------------------------------*/ foreach($this->config->getPeriods() as $p_id=>$p_date){ @@ -63,6 +65,8 @@ } + file_put_contents(__ROOT__."/tmp/$d_id.ics", "END:VCALENDAR", FILE_APPEND); + } }