Fixed bug with CKEditor 3.2.1 not being loaded in some applications

This commit is contained in:
Andreas Stöckel 2010-05-26 08:43:01 +00:00
parent 634e44873b
commit 0802dd072b

View File

@ -588,7 +588,7 @@ class html
include_once(EGW_INCLUDE_ROOT."/phpgwapi/js/ckeditor3/ckeditor.php");
//Get the ckeditor base url
$basePath = 'phpgwapi/js/ckeditor3/';
$basePath = $GLOBALS['egw_info']['server']['webserver_url'].'/phpgwapi/js/ckeditor3/';
$oCKeditor = new CKeditor($basePath);
$oCKeditor->returnOutput = true;