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

This commit is contained in:
zero 2007-03-30 10:32:58 +00:00
parent 078ea34bc4
commit d94dc0d9a8
12 changed files with 116 additions and 106 deletions

View file

@ -105,7 +105,7 @@
// 미설치시에는 act값을 강제로 변경
if($this->module=="install") {
if(!$xml_info->action->{$this->act}) $this->act = $xml_info->default_index_act;
if(!$this->act || !$xml_info->action->{$this->act}) $this->act = $xml_info->default_index_act;
}
// 현재 요청된 act가 있으면 $xml_info에서 type을 찾음, 없다면 기본 action을 이용

View file

@ -266,7 +266,7 @@
$xml_info = $oModuleModel->getModuleActionXml($forward->module);
$oModule->setAct($forward->act);
$oModule->init();
$oModule->setModuleInfo(null, $xml_info);
$oModule->setModuleInfo($this->module_info, $xml_info);
$output = call_user_method($forward->act, $oModule);
$this->setTemplatePath($oModule->getTemplatePath());