mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Agenda export: Tweaked HTTP headers for Google Agenda import
This commit is contained in:
@@ -155,6 +155,9 @@ if ($format == 'ical' || $format == 'vcal')
|
||||
// Ajout directives pour resoudre bug IE
|
||||
//header('Cache-Control: Public, must-revalidate');
|
||||
//header('Pragma: public');
|
||||
|
||||
// Google Agenda import tweak
|
||||
header('Cache-Control: max-age=7200, private, must-revalidate');
|
||||
|
||||
// Clean parameters
|
||||
$outputfile=$conf->agenda->dir_temp.'/'.$filename;
|
||||
|
||||
Reference in New Issue
Block a user