Codeigniter 3.x,在application/config/config.php
末尾加上
date_default_timezone_set("Asia/Shanghai");
Codeigniter 3.x,在application/config/config.php
末尾加上
date_default_timezone_set("Asia/Shanghai");
转载于:https://www.cnblogs.com/fsong/p/11400108.html