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/sandbox@6639 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c31d9385ac
commit
e140da0850
1 changed files with 3 additions and 1 deletions
|
|
@ -26,7 +26,8 @@
|
|||
header("Pragma: no-cache");
|
||||
|
||||
$cache_file = sprintf('%sfiles/cache/wiki/%d.xml', _XE_PATH_,$this->module_srl);
|
||||
if(!file_exists($cache_file)) FileHandler::writeFile($cache_file, $this->loadWikiTreeList($this->module_srl));
|
||||
//if(!file_exists($cache_file)) FileHandler::writeFile($cache_file, $this->loadWikiTreeList($this->module_srl));
|
||||
FileHandler::writeFile($cache_file, $this->loadWikiTreeList($this->module_srl));
|
||||
|
||||
print FileHandler::readFile($cache_file);
|
||||
Context::close();
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
if($output->data) {
|
||||
// 데이트를 이용하여 XML 문서로 생성
|
||||
foreach($output->data as $node) {
|
||||
if(!trim($node->title)) $node->title = 'Front Page';
|
||||
$tree[(int)$node->parent_srl][$node->document_srl] = $node;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue