diff --git a/build/service/Updater.php b/build/service/Updater.php index a1923a7..9017934 100644 --- a/build/service/Updater.php +++ b/build/service/Updater.php @@ -48,6 +48,7 @@ foreach($this->config->getDiplomes() as $d_id=>$d_name){ file_put_contents(__ROOT__."/tmp/$d_id.ics", "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//xdrm.io//NONSGML v1.0//EN\nMETHOD:PUBLISH\nX-WR-CALNAME: UPPA $d_name\n"); + \chmod(__ROOT__."/tmp/$d_id.ics", 775); /* (1) Browse each date ---------------------------------------------------------*/