[svn r18073] FS#2867 - FCKEditor, learning path tool: Bugfixing, adding a missing editor's setting BaseHref. Before this the editor did not show images inside the editing area and the image dialog's preview area.

skala
Ivan Tcholakov 17 years ago
parent 9826678fe6
commit 77f27e8d48
  1. 1
      main/newscorm/lp_controller.php

@ -165,6 +165,7 @@ $fck_attribute['Config']['FullPage'] = true;
$fck_attribute['Config']['InDocument'] = false;
$fck_attribute['Config']['CreateDocumentDir'] = '/'; // this means that fck editor will add the mp3, video files like this audio/fil.mp3 and not the absolute path
$fck_attribute['Config']['CreateDocumentWebDir'] = api_get_path('WEB_COURSE_PATH').$_course['path'].'/document/';
$fck_attribute['Config']['BaseHref'] = api_get_path('WEB_COURSE_PATH').$_course['path'].'/document/';
if(isset($_GET['isStudentView']) && $_GET['isStudentView'] == 'true')
{

Loading…
Cancel
Save