define('DEVELOPMENT', $_W['config']['setting']['development'] == 1);
if(DEVELOPMENT) {
ini_set('display_errors', '1');
error_reporting(E_ALL ^ E_NOTICE);
error_reporting(E_ALL );
} else {
error_reporting(0);
}
先把 错误报告 打开
标签:DEVELOPMENT,development,NOTICE,set,微擎,错误,reporting,error,500 From: https://blog.51cto.com/jing/6002530