We selected Asia/Chongqing for CST/8.0/no DST

2012-08-03 16:16:38

好久没打开旧博客,这一去竟然有了亮点
从源代码里看到的
Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in
估计服务器后台改动惊动了时光守护者,于是各种页面各种报错。
果断度娘然后把
<?php date_default_timezone_set("PRC"); ?>
丢到header.php里。
Victory!
 

|