Chinaunix首页 | 论坛 | 博客
  • 博客访问: 421582
  • 博文数量: 78
  • 博客积分: 1527
  • 博客等级: 上尉
  • 技术积分: 830
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-27 20:57
文章分类

全部博文(78)

文章存档

2011年(1)

2008年(12)

2007年(53)

2006年(12)

我的朋友

分类:

2008-01-11 15:04:23

I install Slimstatsimple web stats analyser ) plugin for my wp.But I find it display this server time,not my local time.
I google and find the answer from .
I put a line of code (as follow) into wpslimstat.php,then it works fine. Thanks for Deep Jive’s share.
I use Beijing time,so I need change timezone to “Asia/Shanghai’.Then the code is:
date_default_timezone_set (”Asia/Shanghai”);

So why can he find the answer?
I think he must find than Slimstat is writed by php,so we can find the answer from php.THIS IS THE KEY.This also can be used to solve any problem!

Thank for Deep Jive. ^_^

here is the original post link:

阅读(1359) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~