chmod on the .ics file when created to allow to override it
This commit is contained in:
parent
ac50e121a4
commit
a70267ea06
|
@ -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
|
||||
---------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue