瀏覽代碼

Update app.php

邹景立 2 年之前
父節點
當前提交
90bafcebf8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      config/app.php

+ 1 - 0
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',
     ],