kompass/modules/calendar/ajax-calendar.php
2023-12-30 14:28:21 +01:00

13 lines
594 B
PHP

<?php
require_once dirname(__FILE__) . '/../../../../../wp-config.php';
require_once dirname(__FILE__) . '/../../../../../wp-includes/option.php';
require_once dirname(__FILE__) . '/../../../../../wp-includes/plugin.php';
require_once dirname(__FILE__) . '/../../../../../wp-includes/load.php';
require_once dirname(__FILE__) . '/../../../../../wp-includes/cache.php';
require_once dirname(__FILE__) . '/../../lib/ics-parser/Event.php';
require_once dirname(__FILE__) . '/../../lib/ics-parser/ICal.php';
require_once 'calendar.php';
$calendar = new Calendar();
echo $calendar->show();