⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
kronolith
/
lib
/
View
/
View File Name :
ExportEvent.php
* @package Kronolith */ class Kronolith_View_ExportEvent { /** * @param mixed Kronolith_Event|string $event The event object or error * string to display. */ public function __construct($event) { if (!$event) { echo '
' . _("Event not found") . '
'; exit; } if (is_string($event)) { echo '
' . $event . '
'; exit; } $iCal = new Horde_Icalendar('2.0'); if ($event->calendarType == 'internal') { try { $share = $GLOBALS['injector']->getInstance('Kronolith_Shares')->getShare($event->calendar); $iCal->setAttribute('X-WR-CALNAME', $share->get('name')); } catch (Exception $e) { } } $iCal->addComponent($event->toiCalendar($iCal)); $content = $iCal->exportvCalendar(); $GLOBALS['browser']->downloadHeaders( $event->getTitle() . '.ics', 'text/calendar; charset=UTF-8', true, strlen($content)); echo $content; exit; } }