Chinaunix首页 | 论坛 | 博客
  • 博客访问: 398588
  • 博文数量: 59
  • 博客积分: 5195
  • 博客等级: 大校
  • 技术积分: 645
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-01 14:38
文章分类

全部博文(59)

文章存档

2017年(1)

2011年(10)

2010年(1)

2009年(9)

2008年(1)

2007年(35)

2006年(2)

我的朋友

分类: LINUX

2011-08-16 16:49:20

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;
阅读(427) | 评论(0) | 转发(0) |
0

上一篇:模版修改

下一篇:杂七杂八,边边角角

给主人留下些什么吧!~~