From 90bafcebf8d0393fafe1e64ba67265329dfc7056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 9 May 2022 14:40:37 +0800 Subject: [PATCH] Update app.php --- config/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/app.php b/config/app.php index 3dabcc1fb..527b67fd1 100644 --- a/config/app.php +++ b/config/app.php @@ -45,6 +45,7 @@ return [ 'exception_tmpl' => app()->getAppPath() . 'admin/view/error.php', // 异常状态模板配置,仅生产模式有效 'http_exception_template' => [ + 0 => app()->getRootPath() . 'public/static/theme/err/500.html', 404 => app()->getRootPath() . 'public/static/theme/err/404.html', 500 => app()->getRootPath() . 'public/static/theme/err/500.html', ],