From 3671739d835cfeb39599ddb14a2753816cc77d2a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 24 May 2011 10:44:13 +0200 Subject: [PATCH 1/2] Use absolute paths --- plugins/calendar/calendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index a4342a82..52522b41 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -54,7 +54,7 @@ class calendar extends rcube_plugin // load Calendar user interface which includes jquery-ui $this->require_plugin('jqueryui'); - require('lib/calendar_ui.php'); + require($this->home . '/lib/calendar_ui.php'); $this->ui = new calendar_ui($this); $this->ui->init(); @@ -65,7 +65,7 @@ class calendar extends rcube_plugin $this->load_driver(); // load iCalendar functions - require('lib/calendar_ical.php'); + require($this->home . '/lib/calendar_ical.php'); $this->ical = new calendar_ical($this->rc, $this->driver); // register calendar actions From 15d46fe408d5f9d8df768e2efb47549708c0b80c Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 24 May 2011 13:28:29 +0200 Subject: [PATCH 2/2] Disable PHP warnings about deprecated syntax usage --- plugins/kolab_core/README.txt | 2 ++ plugins/kolab_core/rcube_kolab.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugins/kolab_core/README.txt b/plugins/kolab_core/README.txt index 87537c0b..751e84fb 100644 --- a/plugins/kolab_core/README.txt +++ b/plugins/kolab_core/README.txt @@ -24,6 +24,8 @@ pear install horde/Log pear install horde/Kolab_Format pear install horde/Kolab_Storage +WARNING: This procedure installs Horde4 sources that doesn't work with this plugin! + Configuration ------------- diff --git a/plugins/kolab_core/rcube_kolab.php b/plugins/kolab_core/rcube_kolab.php index fb9c975e..3c875ba4 100644 --- a/plugins/kolab_core/rcube_kolab.php +++ b/plugins/kolab_core/rcube_kolab.php @@ -1,5 +1,7 @@