mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
modify recompileCache() in modules git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8984 201d5d3c-b55e-5fd7-737f-ddc643e51545
43 lines
1 KiB
PHP
43 lines
1 KiB
PHP
<?php
|
|
/**
|
|
* @class opage
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief high class of opage module
|
|
**/
|
|
|
|
class opage extends ModuleObject {
|
|
|
|
/**
|
|
* @brief Implement if additional tasks are necessary when installing
|
|
**/
|
|
function moduleInstall() {
|
|
// Create cache directory to use in the opage
|
|
FileHandler::makeDir('./files/cache/opage');
|
|
|
|
return new Object();
|
|
}
|
|
|
|
/**
|
|
* @brief a method to check if successfully installed
|
|
**/
|
|
function checkUpdate() {
|
|
// Create a directory ditectly if no cache directory exists
|
|
if(!is_dir('./files/cache/opage')) FileHandler::makeDir('./files/cache/opage');
|
|
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @brief Update
|
|
**/
|
|
function moduleUpdate() {
|
|
return new Object(0, 'success_updated');
|
|
}
|
|
|
|
/**
|
|
* @brief Re-generate the cache file
|
|
**/
|
|
function recompileCache() {
|
|
}
|
|
}
|
|
?>
|