mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
完善框架的异常处理
This commit is contained in:
@@ -123,9 +123,7 @@ return [
|
||||
|
||||
// 异常页面的模板文件
|
||||
'exception_tmpl' => THINK_PATH . 'tpl' . DS . 'think_exception.tpl',
|
||||
// 异常处理忽略的错误类型,支持PHP所有的错误级别常量,多个级别可以用|运算法
|
||||
// 参考:http://php.net/manual/en/errorfunc.constants.php
|
||||
'exception_ignore_type' => 0,
|
||||
|
||||
// 错误显示信息,非调试模式有效
|
||||
'error_message' => '页面错误!请稍后再试~',
|
||||
// 错误定向页面
|
||||
|
||||
Reference in New Issue
Block a user