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

This commit is contained in:
zero 2007-06-04 06:00:47 +00:00
parent 86e8af5b3f
commit f2e47e336d
37 changed files with 27 additions and 3019 deletions

View file

@ -156,7 +156,7 @@
$this->grant = $grant;
Context::set('grant', $grant);
$this->init();
if(method_exists($this, 'init')) $this->init();
}
/**
@ -285,7 +285,8 @@
$forward = $oModuleModel->getActionForward($this->act);
if($forward->module && $forward->type && $forward->act) {
$oModule = &getModule($forward->module, $forward->type);
$kind = strpos(strtolower($forward->act),'admin')!==false?'admin':'';
$oModule = &getModule($forward->module, $forward->type, $kind);
$xml_info = $oModuleModel->getModuleActionXml($forward->module);
$oModule->setAct($forward->act);
$oModule->init();