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:
parent
2e0343ff14
commit
fbb5f268ca
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user