vali %!s(int64=6) %!d(string=hai) anos
pai
achega
24eb51d7f1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      application/config.php

+ 2 - 1
application/config.php

@@ -38,7 +38,8 @@ return [
     // 应用命名空间
     'app_namespace' => 'app',
 
-    'exception_tmpl' => APP_PATH.'404.html',
+    //'exception_tmpl' => APP_PATH.'404.html',
+    'exception_tmpl' => '',
     'http_exception_template' => [
         // 定义404错误的重定向页面地址
         '404' => APP_PATH . '404.html',