diff --git a/editor/js/editor.js b/editor/js/editor.js index d595f979d..8651ce029 100755 --- a/editor/js/editor.js +++ b/editor/js/editor.js @@ -605,7 +605,7 @@ function editor_preview(sel_obj, upload_target_srl) { // 플래쉬 동영상의 경우 if(/\.flv$/i.test(uploaded_filename)) { - html = ""; + html = ""; // 플래쉬 파일의 경우 } else if(/\.swf$/i.test(uploaded_filename)) { html = ""; @@ -673,7 +673,7 @@ function editor_insert_file(upload_target_srl, align) { // 플래쉬 동영상의 경우 if(/\.flv$/i.test(uploaded_filename)) { type = "flv"; - uploaded_filename = editor_path+"flvplayer/flvplayer.swf?autoStart=true&file="+uploaded_filename; + uploaded_filename = editor_path+"component/flvplayer/flvplayer.swf?autoStart=true&file="+uploaded_filename; // 플래쉬 파일의 경우 } else if(/\.swf$/i.test(uploaded_filename)) { type = "swf"; diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 41402e696..065052b3c 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -60,12 +60,6 @@ Context::set('category_list', $this->category_list); } - // 에디터 세팅 - Context::set('editor', $this->editor); - $editor_path = sprintf("./editor/%s/", $this->editor); - Context::set('editor_path', $editor_path); - Context::loadLang($editor_path); - // 템플릿에서 사용할 변수를 Context::set() if($this->module_srl) Context::set('module_srl',$this->module_srl); diff --git a/modules/board/skins/default/write_form.html b/modules/board/skins/default/write_form.html index 8a6a0f860..204a2ae59 100644 --- a/modules/board/skins/default/write_form.html +++ b/modules/board/skins/default/write_form.html @@ -69,7 +69,7 @@