1. data/config.php 修改
最后面加上
/*
DEBUG_MODE 有4种模式:
0 disabled debug
1 output error message
2 disabled caching
4 showing debug page
8 logging SQL query
*/
define('DEBUG_MODE', 1);
?>
2.bom.php 清除bom
3. mysql 报错 加上debug_print_backtrace
4 session real_ip 设置为 cookie