summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt3
-rw-r--r--fckeditor.module4
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index e3ead8c..83b29f8 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,8 @@
$Id$
+-- 2009-01-20 version 6.x-1.x-dev
+* #350155 Fixed: double slash in path to fckstyles.xml
+
-- 2009-01-19 version 6.x-1.x-dev
* #360599 Improved ImageBrowser integration
diff --git a/fckeditor.module b/fckeditor.module
index 009bd61..b8527eb 100644
--- a/fckeditor.module
+++ b/fckeditor.module
@@ -1108,8 +1108,8 @@ function fckeditor_process_textarea($element) {
// add custom xml stylesheet if it exists
if (!empty($conf['css_style']) && $conf['css_style'] == 'theme') {
- if (file_exists($themepath .'/fckstyles.xml')) {
- $styles_xml_path = $host . $themepath .'/fckstyles.xml';
+ if (file_exists($themepath .'fckstyles.xml')) {
+ $styles_xml_path = $host . $themepath .'fckstyles.xml';
$js .= $js_id .".Config['StylesXmlPath'] = \"". $styles_xml_path ."\";\n";
}
}