Author: Richtermeister
Date: 2010-03-10 08:41:24 +0100 (Wed, 10 Mar 2010)
New Revision: 28453

Modified:
   plugins/sfFCKEditorPlugin/lib/widget/sfWidgetFormFCKEditor.class.php
Log:
adding default path to fckeditor

Modified: plugins/sfFCKEditorPlugin/lib/widget/sfWidgetFormFCKEditor.class.php
===================================================================
--- plugins/sfFCKEditorPlugin/lib/widget/sfWidgetFormFCKEditor.class.php        
2010-03-10 07:28:30 UTC (rev 28452)
+++ plugins/sfFCKEditorPlugin/lib/widget/sfWidgetFormFCKEditor.class.php        
2010-03-10 07:41:24 UTC (rev 28453)
@@ -34,7 +34,7 @@
     error_reporting($error_reporting);
 
     $fckeditor           = new FCKeditor($name);
-    $fckeditor->BasePath = 
sfContext::getInstance()->getRequest()->getRelativeUrlRoot().'/'.sfConfig::get('sf_rich_text_fck_js_dir').'/';
+    $fckeditor->BasePath = 
sfContext::getInstance()->getRequest()->getRelativeUrlRoot().'/'.sfConfig::get('sf_rich_text_fck_js_dir',
 "js/fckeditor").'/';
     $fckeditor->Value    = $value;
 
     if (isset($attributes["width"]))

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to