Factorizes, and improves, our content caching headers.
[platal.git] / modules / carnet.php
index 54a118d..e6ca6a6 100644 (file)
@@ -307,7 +307,7 @@ class CarnetModule extends PLModule
         }
         $page->assign('events', $annivs);
 
-        header('Content-Type: text/calendar; charset=utf-8');
+        pl_content_headers("text/calendar");
     }
 
     function handler_vcard(&$page, $photos = null)