function get($s='', $opts = Array())
{
- if(
- !empty($_REQUEST['_clear_cache']) &&
- !empty($_REQUEST['_clear_module'])
- ) {
- $this->clearCompiledFilesCache($_REQUEST['_clear_module']);
+ if(!empty($_REQUEST['_clear_cache'])) {
+ $this->clearCompiledFilesCache();
}
return false;
}
- function clearCompiledFilesCache($module)
+ function clearCompiledFilesCache()
{
require_once 'System.php';
$mods = $this->modulesList();