mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 06:22:20 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4a5075bc07
commit
f2906e4e0d
5 changed files with 30 additions and 6 deletions
|
|
@ -49,8 +49,14 @@
|
|||
if(!$oModule || !is_object($oModule)) {
|
||||
$this->setTemplateFile('index');
|
||||
|
||||
// oModule이 정상이라면 해당 모듈의 template path, file을 가로챔
|
||||
// oModule이 정상이라면
|
||||
} else {
|
||||
// 모듈의 타이틀 값을 구해옴
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoXml($mo);
|
||||
Context::set('module_info', $module_info);
|
||||
|
||||
// 해당 모듈의 template path, file을 가로챔
|
||||
$this->setTemplatePath($oModule->getTemplatePath());
|
||||
$this->setTemplateFile($oModule->getTemplateFile());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue