summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers/kolab/kolab_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar/drivers/kolab/kolab_driver.php')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index 938bcee..2f41b21 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -52,17 +52,17 @@ class kolab_driver extends calendar_driver
$cal->require_plugin('libkolab');
// load helper classes *after* libkolab has been loaded (#3248)
- require_once(dirname(__FILE__) . '/kolab_calendar.php');
- require_once(dirname(__FILE__) . '/kolab_user_calendar.php');
- require_once(dirname(__FILE__) . '/kolab_invitation_calendar.php');
+ require_once __DIR__ . '/kolab_calendar.php';
+ require_once __DIR__ . '/kolab_user_calendar.php';
+ require_once __DIR__ . '/kolab_invitation_calendar.php';
$this->cal = $cal;
$this->rc = $cal->rc;
$this->_read_calendars();
-
+
$this->cal->register_action('push-freebusy', array($this, 'push_freebusy'));
$this->cal->register_action('calendar-acl', array($this, 'calendar_acl'));
-
+
$this->freebusy_trigger = $this->rc->config->get('calendar_freebusy_trigger', false);
if (kolab_storage::$version == '2.0') {