ci calendar问题
当我加载calendar的时候 会报这样的错误:Message: date() : 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 'UTC' for '8.0/no DST' instead
Filename: libraries/Calendar.php
请问高手这个怎么解决? 这是你的 PHP 的问题,也就是 php 5.3 才有这个,你要先设置时区。
google date_default_timezone_set() 可以加上
date_default_timezone_set('Asia/Shanghai');
页:
[1]