摘要: 1.在加载ci框架分页类的时候,前台打印报错 array callback has to contain indices 0 and 1 指定了 $config['base_url'] = $data("log_control/warning_log/index/"); 这一行代码, 解释如下: 使 阅读全文
posted @ 2017-06-09 11:08 码者 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1.本地获取的时间不对 time(); 时间域设置有问题,解决如下 ① 修改php.ini date.timezone ="PRC" ②在php的文件中加上 date_default_timezone_set('PRC') <?php date_default_timezone_set('PRC') 阅读全文
posted @ 2017-06-09 10:32 码者 阅读(144) 评论(0) 推荐(0) 编辑