- get rid of 'plugins_dir' option, plugins directory must be in Roundcube root (like skins)

This commit is contained in:
alecpl
2009-05-25 09:22:59 +00:00
parent 562c0e8528
commit 7dbe2fa6bf
4 changed files with 4 additions and 9 deletions

View File

@@ -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;
}