欢迎光临
我们一直在努力

国外主机安装ecshop时区问题

创建配置文件…………成功
创建数据库…………成功
安装数据…………成功
创建管理员帐号…………失败

Warning: date() [function.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 'Asia/Hong_Kong' for 'HKT/8.0/no DST' instead in /var/www/shop/includes/lib_time.php on line 29
OK

在install/includes/init.php文件里加入一句
date_default_timezone_set ('Asia/Shanghai');

例如加在这个位置

赞(0) 打赏
未经允许不得转载:刘旭的人个博客 » 国外主机安装ecshop时区问题
分享到: 更多 (0)
标签:

评论 抢沙发

评论前必须登录!

 

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏