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/markasjunk/markasjunk.php | |
parent | 2b96b67e8cdb96c7106c76bed307e0b2413379ba (diff) |
Add fallback to default skin if the selected one is not available in plugin directory
Diffstat (limited to 'plugins/markasjunk/markasjunk.php')
-rw-r--r-- | plugins/markasjunk/markasjunk.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/markasjunk/markasjunk.php b/plugins/markasjunk/markasjunk.php index f3e652d89..4f41a7eed 100644 --- a/plugins/markasjunk/markasjunk.php +++ b/plugins/markasjunk/markasjunk.php @@ -19,7 +19,7 @@ class markasjunk extends rcube_plugin $rcmail = rcmail::get_instance(); if ($rcmail->action == '' || $rcmail->action == 'show') { - $skin_path = 'skins/'.$rcmail->output->config['skin']; + $skin_path = $this->local_skin_path();; $this->include_script('markasjunk.js'); $this->add_texts('localization', true); $this->add_button(array( |