summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-12 14:15:10 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-12 14:15:10 +0100
commit3806f168b9ca797ad6e6bfa0743345b00c612e2a (patch)
tree83f3e95ca3c20a074d5fdf6d7e2cdc70aab13a71 /program/include
parent2a5afe1cdeb177642d10567687df460fd220802d (diff)
Fix skin template paths when linking js and css files (#1488790)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_output_html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_output_html.php b/program/include/rcube_output_html.php
index 08c0a33c0..db947bd2b 100644
--- a/program/include/rcube_output_html.php
+++ b/program/include/rcube_output_html.php
@@ -457,7 +457,7 @@ class rcube_output_html extends rcube_output
if (is_readable($path)) {
$this->config->set('skin_path', $skin_path);
- $this->base_path = $skin_path;
+ $this->base_path = preg_replace('!plugins/\w+/!', '', $skin_path); // set base_path to core skin directory (not plugin's skin)
break;
}
else {