Agenda export: Tweaked HTTP headers for Google Agenda import
This commit is contained in:
parent
1558afd2d7
commit
90eeb8ff94
@ -156,6 +156,9 @@ if ($format == 'ical' || $format == 'vcal')
|
|||||||
//header('Cache-Control: Public, must-revalidate');
|
//header('Cache-Control: Public, must-revalidate');
|
||||||
//header('Pragma: public');
|
//header('Pragma: public');
|
||||||
|
|
||||||
|
// Google Agenda import tweak
|
||||||
|
header('Cache-Control: max-age=7200, private, must-revalidate');
|
||||||
|
|
||||||
// Clean parameters
|
// Clean parameters
|
||||||
$outputfile=$conf->agenda->dir_temp.'/'.$filename;
|
$outputfile=$conf->agenda->dir_temp.'/'.$filename;
|
||||||
$result=readfile($outputfile);
|
$result=readfile($outputfile);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user