Index: trunk/core/units/admin/admin_tag_processor.php =================================================================== diff -u -N -r8860 -r8901 --- trunk/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 8860) +++ trunk/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 8901) @@ -473,10 +473,18 @@ $oFCKeditor->Height = $params['height'] ; $oFCKeditor->ToolbarSet = 'Advanced' ; $oFCKeditor->Value = '' ; + + if ($this->Application->isModuleEnabled('In-Portal')) { + $config_path = $this->Application->BaseURL().'kernel/admin_templates/incs/inp_fckconfig.js'; + } + else { + $config_path = $this->Application->BaseURL().'core/admin_templates/js/inp_fckconfig.js'; + } + $oFCKeditor->Config = Array( // 'UserFilesPath' => FULL_PATH.'/kernel/user_files', 'ProjectPath' => BASE_PATH.'/', - 'CustomConfigurationsPath' => $this->Application->isModuleEnabled('In-Portal') ? $this->Application->BaseURL().'kernel/admin_templates/incs/inp_fckconfig.js' : $this->Application->BaseURL().$editor_path.'fckconfig.js', + 'CustomConfigurationsPath' => $config_path, // 'EditorAreaCSS' => $this->Application->BaseURL().'/themes/inportal_site/inc/inportal.css', //GetThemeCSS(), //'StylesXmlPath' => '../../inp_styles.xml', // 'Debug' => 1,