mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 16:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1540 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
86e8af5b3f
commit
f2e47e336d
37 changed files with 27 additions and 3019 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue