Think\Error类的appShutdown方法改进

This commit is contained in:
thinkphp
2013-04-01 13:25:56 +08:00
parent 05fc4d7497
commit a248444605
3 changed files with 3 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ class Error {
// 记录日志
Log::save();
if ($e = error_get_last()) {
ob_end_clean();
self::appError($e['type'],$e['message'],$e['file'],$e['line']);
}
}