diff options
Diffstat (limited to 'program/include/rcube_plugin_api.php')
-rw-r--r-- | program/include/rcube_plugin_api.php | 3 |
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; } |