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 15ef8a6..c01730e 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,8 @@
$Id$
+-- 2009-01-20 version 5.x-2.x-dev
+* #350155 Fixed: double slash in path to fckstyles.xml
+
-- 2008-12-29 version 5.x-2.x-dev
* #350978 Fixed: compatibility with AJAX comments module
diff --git a/fckeditor.module b/fckeditor.module
index a8d111e..3d7f3c7 100644
--- a/fckeditor.module
+++ b/fckeditor.module
@@ -1078,8 +1078,8 @@ function fckeditor_process_textarea($element) {
// add custom xml stylesheet if it exists
if ($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";
}
}