From 1af411daee0632b30734cb9578344f500bdbb9e8 Mon Sep 17 00:00:00 2001 From: HFO4 <912394456@qq.com> Date: Fri, 6 Apr 2018 21:28:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADDebug=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/config.php | 2 +- thinkphp/tpl/think_exception.tpl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/config.php b/application/config.php index abd98202..38405e4a 100644 --- a/application/config.php +++ b/application/config.php @@ -156,7 +156,7 @@ return [ 'exception_tmpl' => THINK_PATH . 'tpl' . DS . 'think_exception.tpl', // 错误显示信息,非调试模式有效 - 'error_message' => '出现错误,我们都有不顺利的时候,请坐和放宽', + 'error_message' => '很抱歉,出现错误 :(', // 显示错误信息 'show_error_msg' => false, // 异常处理handle类 留空使用 \think\exception\Handle diff --git a/thinkphp/tpl/think_exception.tpl b/thinkphp/tpl/think_exception.tpl index 06035770..89866be1 100644 --- a/thinkphp/tpl/think_exception.tpl +++ b/thinkphp/tpl/think_exception.tpl @@ -361,7 +361,9 @@
我们都有不顺利的时候,请坐和放宽~
+