diff options
author | alecpl <alec@alec.pl> | 2009-05-25 09:22:59 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-05-25 09:22:59 +0000 |
commit | 7dbe2fa6bf629e1089c61a7bb89885e9936de8a9 (patch) | |
tree | 9922cd56ecd30ddba5912b93754d0be1de89de5c /program/include/rcube_template.php | |
parent | 562c0e852826adcd4d709bf4b38a8d67a0ca403a (diff) |
- get rid of 'plugins_dir' option, plugins directory must be in Roundcube root (like skins)
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-x | program/include/rcube_template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index b597c55b7..dc4b5e1c0 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -339,10 +339,10 @@ class rcube_template extends rcube_html_page $plugin = $temp[0]; $name = $temp[1]; $skin_dir = $plugin . '/skins/' . $this->config['skin']; - $skin_path = $this->config['plugins_dir'] . '/' . $skin_dir; + $skin_path = $this->app->plugins->dir . $skin_dir; if (!is_dir($skin_path)) { // fallback to default skin $skin_dir = $plugin . '/skins/default'; - $skin_path = $this->config['plugins_dir'] . '/' . $skin_dir; + $skin_path = $this->app->plugins->dir . $skin_dir; } } |