diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-07-30 14:37:16 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-07-30 14:37:16 +0200 |
commit | 90fab855b79c865083b2fefc74b848d4b6e71aa6 (patch) | |
tree | f7afea180eb80db3a0fb679a81735b2b90d296b5 /plugins/help/help.php | |
parent | a9cbbae0c8c6b8246897ce5d470e22f026774455 (diff) | |
parent | bc92ca56ef6c51393d2782b7654eaa162dfc2e10 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'plugins/help/help.php')
-rw-r--r-- | plugins/help/help.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/help/help.php b/plugins/help/help.php index ad7dbf0ba..1a76cbbda 100644 --- a/plugins/help/help.php +++ b/plugins/help/help.php @@ -42,12 +42,11 @@ class help extends rcube_plugin 'label' => 'help.help', ), 'taskbar'); - $skin = $rcmail->config->get('skin'); - if (!file_exists($this->home."/skins/$skin/help.css")) - $skin = 'default'; - - // add style for taskbar button (must be here) and Help UI - $this->include_stylesheet("skins/$skin/help.css"); + // add style for taskbar button (must be here) and Help UI + $skin_path = $this->local_skin_path(); + if (is_file($this->home . "/$skin_path/help.css")) { + $this->include_stylesheet("$skin_path/help.css"); + } } function action() |