Fix skin template paths when linking js and css files (#1488790)

pull/44/merge
Thomas Bruederli 12 years ago
parent 2a5afe1cde
commit 3806f168b9

@ -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 {

Loading…
Cancel
Save