summaryrefslogtreecommitdiff
path: root/program/include/rcube_plugin_api.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-14 17:02:25 +0000
committeralecpl <alec@alec.pl>2010-10-14 17:02:25 +0000
commit1ac5431877d0a081b6aa5c2481c0b8cabbf59beb (patch)
treef7dd3494960cd9aedc68ee667731d4ba394d6d83 /program/include/rcube_plugin_api.php
parent2d1d68bc7e1683bca869fcd1eca517ef209097d8 (diff)
- Fix bug in rcube_plugin::local_skin_path()
Diffstat (limited to 'program/include/rcube_plugin_api.php')
-rw-r--r--program/include/rcube_plugin_api.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php
index 2313d6951..da171ecf4 100644
--- a/program/include/rcube_plugin_api.php
+++ b/program/include/rcube_plugin_api.php
@@ -31,6 +31,7 @@ class rcube_plugin_api
public $dir;
public $url = 'plugins/';
public $output;
+ public $config;
public $handlers = array();
private $plugins = array();
@@ -39,7 +40,6 @@ class rcube_plugin_api
private $actionmap = array();
private $objectsmap = array();
private $template_contents = array();
-
private $required_plugins = array('filesystem_attachments');
private $active_hook = false;
@@ -107,6 +107,7 @@ class rcube_plugin_api
{
$rcmail = rcmail::get_instance();
$this->output = $rcmail->output;
+ $this->config = $rcmail->config;
$plugins_dir = dir($this->dir);
$plugins_dir = unslashify($plugins_dir->path);