diff options
author | thomascube <thomas@roundcube.net> | 2009-10-28 22:53:40 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-10-28 22:53:40 +0000 |
commit | 01accaff5b52d8fa53a1821d452f265aef67cef1 (patch) | |
tree | 80769e6d5f0ed1aa7bf3659fa3d538ae0fa12ca4 /plugins/archive/archive.php | |
parent | 2b96b67e8cdb96c7106c76bed307e0b2413379ba (diff) |
Add fallback to default skin if the selected one is not available in plugin directory
Diffstat (limited to 'plugins/archive/archive.php')
-rw-r--r-- | plugins/archive/archive.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php index 8c855fea7..27887cef3 100644 --- a/plugins/archive/archive.php +++ b/plugins/archive/archive.php @@ -24,8 +24,8 @@ class archive extends rcube_plugin if ($rcmail->task == 'mail' && ($rcmail->action == '' || $rcmail->action == 'show') && ($archive_folder = $rcmail->config->get('archive_mbox'))) { - $skin_path = 'skins/'.$rcmail->output->config['skin']; - + $skin_path = $this->local_skin_path(); + $this->include_script('archive.js'); $this->add_texts('localization', true); $this->add_button( |