mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#19548552 editor.model.php에서 eval 코드 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8105 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3ffbbddc97
commit
bc9020fad5
1 changed files with 2 additions and 2 deletions
|
|
@ -518,8 +518,8 @@
|
|||
|
||||
// 클래스 파일을 읽은 후 객체 생성
|
||||
require_once($class_file);
|
||||
$eval_str = sprintf('$oComponent = new %s("%s","%s");', $component, $editor_sequence, $class_path);
|
||||
@eval($eval_str);
|
||||
$tmp_fn = create_function('', sprintf('return new %s("%s","%s");', $component, $editor_sequence, $class_path));
|
||||
$oComponent = $tmp_fn();
|
||||
if(!$oComponent) return new Object(-1, sprintf(Context::getLang('msg_component_is_not_founded'), $component));
|
||||
|
||||
// 설정 정보를 추가
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue