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

This commit is contained in:
zero 2007-02-15 04:43:20 +00:00
parent 679e241d4f
commit 976f4f4074
8 changed files with 118 additions and 97 deletions

View file

@ -22,7 +22,9 @@
* Request Argument에서 $mid, $act값으로 객체를 찾는다.\n
* 유연한 처리를 위해 $document_srl 이용하기도 한다.
**/
function ModuleHandler($module = NULL, $act = NULL) {
function ModuleHandler() {
$module = Context::get('module');
$act = Context::get('act');
// 설치가 안되어 있다면 설치를 위한 준비를 한다
if(!Context::isInstalled()) {
@ -53,7 +55,6 @@
}
// 해당 모듈의 conf/action.xml 을 분석하여 act 값을 체크
if(!$act) $act = Context::get('act');
$type = $this->getActionType($module, $act);
// 모듈 객체 생성