r8134 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8163 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-03-09 07:43:22 +00:00
parent d183ed35dd
commit bbe0901651

View file

@ -510,8 +510,7 @@
* @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(!preg_match('/^[a-zA-Z0-9_-]+$/',$component) || !preg_match('/^[0-9]+$/', $editor_sequence . $site_srl)) return;
if(!$this->loaded_component_list[$component][$editor_sequence]) {
// 해당 컴포넌트의 객체를 생성해서 실행