From 0802dd072b816dcabb6408d98cdc365f5dac2bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Wed, 26 May 2010 08:43:01 +0000 Subject: [PATCH] Fixed bug with CKEditor 3.2.1 not being loaded in some applications --- phpgwapi/inc/class.html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index febd828491..c9482efdb7 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -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;