Minahito
minah****@users*****
2006年 10月 1日 (日) 18:48:30 JST
Index: xoops2jp/html/modules/stdCache/blocks/cacheclear.php diff -u xoops2jp/html/modules/stdCache/blocks/cacheclear.php:1.1.2.1 xoops2jp/html/modules/stdCache/blocks/cacheclear.php:1.1.2.2 --- xoops2jp/html/modules/stdCache/blocks/cacheclear.php:1.1.2.1 Fri Jan 6 12:04:26 2006 +++ xoops2jp/html/modules/stdCache/blocks/cacheclear.php Sun Oct 1 18:48:30 2006 @@ -3,11 +3,11 @@ function Stdcache_cacheclear_show() { $root =& XCube_Root::getSingleton(); - $cache =& $root->getCacheSystem(); - if (!$cache->enableCache()) { + + if (!$root->mController->isEnableCacheFeature()) { return false; } - + if($handler = opendir(XOOPS_CACHE_PATH)) { while(($file = readdir($handler)) !== false) { if(preg_match("/\w+\.cache\.html$/", $file, $matches)) {