更新核心文件

This commit is contained in:
thinkphp
2015-03-26 16:15:35 +08:00
parent 40db699dc4
commit aa123aa8a2
11 changed files with 221 additions and 178 deletions

View File

@@ -96,7 +96,7 @@ class Error {
static public function halt($error) {
IS_CLI && exit(is_array($error)?$error['message']:$error);
$e = [];
if (Config::get('app_debug')) {
if (APP_DEBUG) {
//调试模式下输出错误信息
if (!is_array($error)) {
$trace = debug_backtrace();