mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#19599183 editorModel::getComponentObject() 에서 변수체크 강화
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8134 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6f9e3269f4
commit
cc89c6650e
1 changed files with 3 additions and 0 deletions
|
|
@ -510,6 +510,9 @@
|
|||
* @brief component의 객체 생성
|
||||
**/
|
||||
function getComponentObject($component, $editor_sequence = 0, $site_srl = 0) {
|
||||
|
||||
if(!is_string($component) || !is_int($editor_sequence) || !is_int($site_srl)) return;
|
||||
|
||||
if(!$this->loaded_component_list[$component][$editor_sequence]) {
|
||||
// 해당 컴포넌트의 객체를 생성해서 실행
|
||||
$class_path = sprintf('%scomponents/%s/', $this->module_path, $component);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue