From 3806f168b9ca797ad6e6bfa0743345b00c612e2a Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 12 Nov 2012 08:15:10 -0500
Subject: [PATCH] Fix skin template paths when linking js and css files (#1488790)
---
program/include/rcube_output_html.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_output_html.php b/program/include/rcube_output_html.php
index 08c0a33..db947bd 100644
--- a/program/include/rcube_output_html.php
+++ b/program/include/rcube_output_html.php
@@ -457,7 +457,7 @@
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 {
--
Gitblit v1.9.1