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.

This commit is contained in:
Laurent Destailleur 2008-04-08 02:22:03 +00:00
parent 2e0343ff14
commit fbb5f268ca

View File

@ -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);