diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-20 21:28:33 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-20 21:28:33 -0700 |
commit | db9a0282c4a5b9efba2beb194f6551082c315ea9 (patch) | |
tree | 3a81c331e32d2d15afa2675da1de275cdd3a62d5 | |
parent | 5146e6e76bdc027cdb6036233cd1978a5bc036a3 (diff) | |
download | volse-hubzilla-db9a0282c4a5b9efba2beb194f6551082c315ea9.tar.gz volse-hubzilla-db9a0282c4a5b9efba2beb194f6551082c315ea9.tar.bz2 volse-hubzilla-db9a0282c4a5b9efba2beb194f6551082c315ea9.zip |
provide content-disposition for exported ics file
-rwxr-xr-x | mod/events.php | 1 |
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(); } |