Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -107,12 +107,9 @@ class _Application extends \IPS\Application
|
||||
$feed->addEvent( $event );
|
||||
}
|
||||
|
||||
$ics = $feed->buildICalendarFeed( $this->_calendar );
|
||||
$ics = $feed->buildICalendarFeed( $calendar );
|
||||
|
||||
\IPS\Output::i()->sendHeader( "Content-type: text/calendar; charset=UTF-8" );
|
||||
\IPS\Output::i()->sendHeader( 'Content-Disposition: inline; filename=calendarEvents.ics' );
|
||||
|
||||
print $ics;
|
||||
\IPS\Output::i()->sendOutput( $ics, 200, 'text/calendar', [ 'Content-Disposition' => \IPS\Output::getContentDisposition( 'inline', "calendarEvents.ics" ) ], FALSE, FALSE, FALSE );
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user