ITeye博客

smarty

共 1 篇文章

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system'

今天在初学smarty的时候,遇到了Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.这个问题, 上网搜了下,原来是时区没有设置, 只需要把php安装目录下的php.ini 文件中的date.timezone=Asia/Shanghai 其他的时间可以在这里找到http://nl3.php.net/manual/en/timezones.php

2012-02-23 23:45 · smarty