summaryrefslogtreecommitdiff
path: root/roundcubemail/plugins/markasjunk/markasjunk.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-10-28 22:53:40 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-10-28 22:53:40 +0000
commit5328c11135888671be7b952ab76069f8d34dbb78 (patch)
treef489a4aaf2c9b2691086cf663e0e7c16ccdf1a06 /roundcubemail/plugins/markasjunk/markasjunk.php
parentd6c77ae7a1b31462b57d2b06d79167970040ab52 (diff)
Add fallback to default skin if the selected one is not available in plugin directory
git-svn-id: https://svn.roundcube.net/trunk@3076 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/plugins/markasjunk/markasjunk.php')
-rw-r--r--roundcubemail/plugins/markasjunk/markasjunk.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/plugins/markasjunk/markasjunk.php b/roundcubemail/plugins/markasjunk/markasjunk.php
index f3e652d89..4f41a7eed 100644
--- a/roundcubemail/plugins/markasjunk/markasjunk.php
+++ b/roundcubemail/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(