mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@338 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e14d7f8015
commit
fdc255b238
5 changed files with 16 additions and 7 deletions
|
|
@ -178,13 +178,14 @@
|
|||
|
||||
// 레이아웃 정보중 menu를 Context::set
|
||||
if($layout_info->menu_count) {
|
||||
foreach($layout_info->menu as $menu_id => $menu) Context::set($menu_id, $menu);
|
||||
unset($layout_info->menu);
|
||||
foreach($layout_info->menu as $menu_id => $menu) {
|
||||
if(file_exists($menu->php_file)) include($menu->php_file);
|
||||
Context::set($menu_id, $menu);
|
||||
}
|
||||
}
|
||||
|
||||
// 레이아웃 정보를 Context::set
|
||||
Context::set('layout_info', $layout_info);
|
||||
debugPrint($layout_info);
|
||||
|
||||
$oModule->setLayoutPath($layout_info->path);
|
||||
$oModule->setLayoutFile('layout');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue