From 494504d537c1ec61291aa2f9155cca3476f473df Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 22 Nov 2010 10:18:46 +0000 Subject: Move core Kolab functions to a separate plugin to be used by others too git-svn-id: https://svn.roundcube.net/trunk@4247 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/kolab_core/kolab_core.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugins/kolab_core/kolab_core.php (limited to 'plugins/kolab_core/kolab_core.php') diff --git a/plugins/kolab_core/kolab_core.php b/plugins/kolab_core/kolab_core.php new file mode 100644 index 000000000..e98b02dcd --- /dev/null +++ b/plugins/kolab_core/kolab_core.php @@ -0,0 +1,30 @@ + + * + */ +class kolab_core extends rcube_plugin +{ + /** + * Required startup method of a Roundcube plugin + */ + public function init() + { + // load local config + $this->load_config(); + + // extend include path to load bundled Horde classes + $include_path = $this->home . PATH_SEPARATOR . ini_get('include_path'); + set_include_path($include_path); + } + +} + -- cgit v1.2.3