1.禁用缓存
includes/cls_template.php,198行左右,注释:
if (file_put_contents($hash_dir . '/' . $cachename . '.php', '' . $data . $out, LOCK_EX) === false)
{
trigger_error('can\'t write:' . $hash_dir . '/' . $cachename . '.php');
}
includes/cls_mysql.php,31行左右,把
var $max_cache_time = 300;
修改为:
var $max_cache_time = 0;
阅读(454) | 评论(0) | 转发(0) |