git-svn-id: http://xe-core.googlecode.com/svn/trunk@161 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-23 02:16:47 +00:00
parent b3a839ae94
commit c054d03df0
7 changed files with 34 additions and 24 deletions

View file

@ -93,14 +93,13 @@
$xml_info = $oModuleModel->getModuleXmlInfo($this->module);
// 현재 요청된 act가 있으면 $xml_info에서 type을 찾음, 없다면 기본 action을 이용
if(!$this->act || !$xml_info->action->{$this->act}) $this->act = $xml_info->default_action;
if(!$this->act || !$xml_info->action->{$this->act}) $this->act = $xml_info->default_index_act;
// 설정된 mid가 없을 경우 요청된 act의 standalone 여부 체크
if(!$this->mid && !$xml_info->action->{$this->act}->standalone) {
$this->error = 'msg_module_is_not_standalone';
return;
}
// type, grant 값 구함
$type = $xml_info->action->{$this->act}->type;
$grant = $xml_info->action->{$this->act}->grant;