From 09c27401c65809784bd4f9aebb5e5f7adc4adcad Mon Sep 17 00:00:00 2001 From: toogee Date: Sun, 12 Jan 2020 15:00:49 +0800 Subject: [PATCH] git --- config/.gitignore | 1 + config/app.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 config/.gitignore diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..6b50222 --- /dev/null +++ b/config/.gitignore @@ -0,0 +1 @@ +database.php \ No newline at end of file diff --git a/config/app.php b/config/app.php index 18feded..45ca00d 100644 --- a/config/app.php +++ b/config/app.php @@ -29,7 +29,7 @@ return [ 'deny_app_list' => [], // 异常页面的模板文件 - 'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl', + 'exception_tmpl' => '../veiw/404.html', // 错误显示信息,非调试模式有效 'error_message' => '页面错误!请稍后再试~',