diff options
Diffstat (limited to 'views/ical/page/default.php')
-rw-r--r-- | views/ical/page/default.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/ical/page/default.php b/views/ical/page/default.php index b4cd7eefb..01bd9e86e 100644 --- a/views/ical/page/default.php +++ b/views/ical/page/default.php @@ -7,11 +7,13 @@ * */ +$site = elgg_get_site_entity(); + header("Content-Type: text/calendar"); -header("Content-Disposition: inline; filename=\"calendar.ics\""); + ?> BEGIN:VCALENDAR VERSION:2.0 -PRODID:-//Curverider Ltd//NONSGML Elgg <?php echo get_version(true); ?>//EN +PRODID:-//Elgg//NONSGML <?php echo $site->name; ?>//EN <?php echo $vars['body']; ?> END:VCALENDAR |