麻烦解释一下这些代码的使用说明

浏览:432 发布日期:2014/07/31 分类:求助交流
我看了一下人家网站的代码,但下面的代码没看懂,我看手册,好像缓存部分没这些方法啊,这代码有些看不懂,麻烦帮忙解释一下啊。

//清除缓存
function deletecache(){

import('Class.Delcache',APP_PATH);
$Delcache=new Delcache();
$Delcache->delDirAndFile(CACHE_PATH,1);
$Delcache->delDirAndFile(LOG_PATH,1);
$Delcache->delDirAndFile(DATA_PATH,1);
$Delcache->delDirAndFile(TEMP_PATH,1);
$this->success("缓存清除成功!");
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>