diff options
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; } } |