Now adds the 'begin::valendar' and end
This commit is contained in:
parent
47118442e5
commit
4a775ccae9
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue