From b62d1f863d5f4571c39ca8e387f3bb3f0bbab0e8 Mon Sep 17 00:00:00 2001 From: zero Date: Sun, 24 May 2009 23:49:32 +0000 Subject: [PATCH] =?UTF-8?q?php=EC=9D=98=20method=5Fexists()=ED=95=A8?= =?UTF-8?q?=EC=88=98=EC=97=90=EC=84=9C=20=EB=8C=80=EC=86=8C=EB=AC=B8?= =?UTF-8?q?=EC=9E=90=EB=A5=BC=20=EA=B5=AC=EB=B3=84=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EB=AA=BB=ED=95=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=EB=95=8C?= =?UTF-8?q?=EB=AC=B8=EC=97=90=20=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= 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@6380 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/module/ModuleObject.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/module/ModuleObject.class.php b/classes/module/ModuleObject.class.php index aef05c31e..9ac56ad43 100644 --- a/classes/module/ModuleObject.class.php +++ b/classes/module/ModuleObject.class.php @@ -239,8 +239,7 @@ $addon_file = $oAddonController->getCacheFilePath(); if(file_exists($addon_file)) @include($addon_file); - // action 실행 - if(method_exists($this, $this->act)) { + if(isset($this->xml_info->action->{$this->act}) && method_exists($this, $this->act)) { // 권한 체크 if(!$this->grant->access) return $this->stop("msg_not_permitted_act");