From 3c41b9d7c08696b6c6d906fdafa73d4c6544e3cb Mon Sep 17 00:00:00 2001 From: taggon Date: Thu, 17 Feb 2011 06:34:48 +0000 Subject: [PATCH] =?UTF-8?q?[8105]=20=EB=B3=B4=EC=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8106 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/editor.model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php index d9227e97b..9f86fc082 100644 --- a/modules/editor/editor.model.php +++ b/modules/editor/editor.model.php @@ -518,8 +518,8 @@ // 클래스 파일을 읽은 후 객체 생성 require_once($class_file); - $tmp_fn = create_function('', sprintf('return new %s("%s","%s");', $component, $editor_sequence, $class_path)); - $oComponent = $tmp_fn(); + $tmp_fn = create_function('$seq,$path', "return new {$component}(\$seq,\$path);"); + $oComponent = $tmp_fn($editor_sequence, $class_path); if(!$oComponent) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component)); // 설정 정보를 추가