Skip to content
Snippets Groups Projects
Commit fbb5f268 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Yeh! Now all automatic actions are externalised in triggers. This make...

New: Yeh! Now all automatic actions are externalised in triggers. This make code so so much easier to understand and offer a lot of possible new features.
parent 2e0343ff
Branches
Tags
No related merge requests found
......@@ -79,10 +79,11 @@ $agenda=new ActionComm($db);
$result=$agenda->build_calfile($format,$type,0,$filename,$filters);
if ($result >= 0)
{
$attachment = false;
$encoding='UTF-8';
$type='text/plain';
//$type='text/calendar';
$attachment = true;
$type='text/calendar';
//$type='text/plain'; // OK
//$attachment = false; // OK
if ($encoding) header('Content-Encoding: '.$encoding);
if ($type) header('Content-Type: '.$type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment