mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 02:10:02 +09:00
Issue 145
modify recompileCache() in modules git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8984 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bd6be95b08
commit
35a23caba8
12 changed files with 12 additions and 61 deletions
|
|
@ -346,14 +346,8 @@
|
|||
* @brief Re-generate the cache file
|
||||
**/
|
||||
function recompileCache() {
|
||||
// Delete all cache files, the module information
|
||||
FileHandler::removeFilesInDir("./files/cache/module_info");
|
||||
// Delete all the files that trigger information
|
||||
FileHandler::removeFilesInDir("./files/cache/triggers");
|
||||
// DB cache, delete all the files
|
||||
FileHandler::removeFilesInDir("./files/cache/db");
|
||||
// Other Cache
|
||||
FileHandler::removeDir("./files/cache/tmp");
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel->getModuleList();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue