aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-20 21:28:33 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-20 21:28:33 -0700
commitdb9a0282c4a5b9efba2beb194f6551082c315ea9 (patch)
tree3a81c331e32d2d15afa2675da1de275cdd3a62d5 /mod
parent5146e6e76bdc027cdb6036233cd1978a5bc036a3 (diff)
downloadvolse-hubzilla-db9a0282c4a5b9efba2beb194f6551082c315ea9.tar.gz
volse-hubzilla-db9a0282c4a5b9efba2beb194f6551082c315ea9.tar.bz2
volse-hubzilla-db9a0282c4a5b9efba2beb194f6551082c315ea9.zip
provide content-disposition for exported ics file
Diffstat (limited to 'mod')
-rwxr-xr-xmod/events.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php
index 289ddfb15..fa00970b4 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -450,6 +450,7 @@ function events_content(&$a) {
if($export) {
header('Content-type: text/calendar');
+ header('content-disposition: attachment; filename="' . t('calendar') . '-' . $channel['channel_address'] . '.ics"' );
echo ical_wrapper($r);
killme();
}