diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-02-10 08:54:08 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-02-10 08:54:08 +0000 |
| commit | b13bc71099300dfb8c958257ef93782327d7cc81 (patch) | |
| tree | 6b3bf911710dee88542d4e7f2a9f98e8ae987b9d /plugins/managesieve/managesieve.php | |
| parent | cc0bf5ef7886f2d2bdbe8a7c7a9fb11ff396be74 (diff) | |
- rcube_sieve_script class moved to separate file
git-svn-id: https://svn.roundcube.net/trunk@4524 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/managesieve/managesieve.php')
| -rw-r--r-- | plugins/managesieve/managesieve.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index ee4d191c3..746e62a14 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -7,7 +7,7 @@ * It's clickable interface which operates on text scripts and communicates * with server using managesieve protocol. Adds Filters tab in Settings. * - * @version 3.0 + * @version 4.0 * @author Aleksander 'A.L.E.C' Machniak <alec@alec.pl> * * Configuration (see config.inc.php.dist) @@ -60,8 +60,10 @@ class managesieve extends rcube_plugin 'filtersetform' => array($this, 'filterset_form'), )); - require_once($this->home . '/lib/Net/Sieve.php'); - require_once($this->home . '/lib/rcube_sieve.php'); + // Add include path for internal classes + $include_path = $this->home . '/lib' . PATH_SEPARATOR; + $include_path .= ini_get('include_path'); + set_include_path($include_path); $host = rcube_parse_host($this->rc->config->get('managesieve_host', 'localhost')); $port = $this->rc->config->get('managesieve_port', 2000); |
