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@6677 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9d7a921f3b
commit
06452b0541
1 changed files with 4 additions and 1 deletions
|
|
@ -28,8 +28,11 @@
|
|||
$oModuleModel = &getModel('module');
|
||||
|
||||
$mid = Context::get('mid');
|
||||
|
||||
$cache_file = sprintf('%sfiles/cache/wiki/%d.xml', _XE_PATH_,$this->module_srl);
|
||||
FileHandler::writeFile($cache_file, $this->loadWikiTreeList($this->module_srl));
|
||||
if($this->grant->write_document || !file_exists($cache_file)) {
|
||||
FileHandler::writeFile($cache_file, $this->loadWikiTreeList($this->module_srl));
|
||||
}
|
||||
|
||||
print FileHandler::readFile($cache_file);
|
||||
Context::close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue