From 3806f168b9ca797ad6e6bfa0743345b00c612e2a Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 12 Nov 2012 14:15:10 +0100 Subject: Fix skin template paths when linking js and css files (#1488790) --- program/include/rcube_output_html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') 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 { -- cgit v1.2.3