mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update app.php
This commit is contained in:
parent
cb20345b8a
commit
90bafcebf8
@ -45,6 +45,7 @@ return [
|
|||||||
'exception_tmpl' => app()->getAppPath() . 'admin/view/error.php',
|
'exception_tmpl' => app()->getAppPath() . 'admin/view/error.php',
|
||||||
// 异常状态模板配置,仅生产模式有效
|
// 异常状态模板配置,仅生产模式有效
|
||||||
'http_exception_template' => [
|
'http_exception_template' => [
|
||||||
|
0 => app()->getRootPath() . 'public/static/theme/err/500.html',
|
||||||
404 => app()->getRootPath() . 'public/static/theme/err/404.html',
|
404 => app()->getRootPath() . 'public/static/theme/err/404.html',
|
||||||
500 => app()->getRootPath() . 'public/static/theme/err/500.html',
|
500 => app()->getRootPath() . 'public/static/theme/err/500.html',
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user