summaryrefslogtreecommitdiff
path: root/program/include/rcube_plugin_api.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-25 09:22:59 +0000
committeralecpl <alec@alec.pl>2009-05-25 09:22:59 +0000
commit7dbe2fa6bf629e1089c61a7bb89885e9936de8a9 (patch)
tree9922cd56ecd30ddba5912b93754d0be1de89de5c /program/include/rcube_plugin_api.php
parent562c0e852826adcd4d709bf4b38a8d67a0ca403a (diff)
- get rid of 'plugins_dir' option, plugins directory must be in Roundcube root (like skins)
Diffstat (limited to 'program/include/rcube_plugin_api.php')
-rw-r--r--program/include/rcube_plugin_api.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php
index c23b1e6f1..5103ce156 100644
--- a/program/include/rcube_plugin_api.php
+++ b/program/include/rcube_plugin_api.php
@@ -61,8 +61,7 @@ class rcube_plugin_api
*/
private function __construct()
{
- $rcmail = rcmail::get_instance();
- $this->dir = realpath($rcmail->config->get('plugins_dir'));
+ $this->dir = INSTALL_PATH . $this->url;
}