mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +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
|
|
@ -246,8 +246,7 @@
|
|||
|
||||
// 파일 생성
|
||||
$xml_buff = sprintf('<root>%s</root>', $this->getXmlTree($tree[0], $tree));
|
||||
$php_buff = sprintf('<?php if(!__ZB5__) exit(); $%s = array(%s); ?>', $menu_id, $this->getPhpCacheCode($tree[0], $tree));
|
||||
debugPrint($php_buff);
|
||||
$php_buff = sprintf('<?php if(!__ZB5__) exit(); $menu->list = array(%s); ?>', $this->getPhpCacheCode($tree[0], $tree));
|
||||
FileHandler::writeFile($xml_file, $xml_buff);
|
||||
FileHandler::writeFile($php_file, $php_buff);
|
||||
|
||||
|
|
|
|||
|
|
@ -166,6 +166,7 @@
|
|||
$buff .= sprintf('$layout_info->menu->{%s}->name = "%s";',$id, $menus[$i]->name->body);
|
||||
$buff .= sprintf('$layout_info->menu->{%s}->maxdepth = "%s";',$id, $menus[$i]->maxdepth->body);
|
||||
$buff .= sprintf('$layout_info->menu->{%s}->xml_file = "./files/cache/layout/".$layout_srl."_%s.xml";',$id, $id);
|
||||
$buff .= sprintf('$layout_info->menu->{%s}->php_file = "./files/cache/layout/".$layout_srl."_%s.php";',$id, $id);
|
||||
}
|
||||
|
||||
$buff = '<?php if(!__ZB5__) exit(); '.$buff.' ?>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue