#19599183 editorModel::getComponentObject() 에서 변수체크 강화

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8134 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-03-07 01:33:24 +00:00
parent 6f9e3269f4
commit cc89c6650e

View file

@ -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);