TP5设置404

在 config.php 文件里面加 'http_exception_template' => [         // 定义404错误的重定向页面地址         404 => APP_PATH.'404.html',         // 还可以定义其它的HTTP status         401 => APP_PATH.'401.html',     ], 404页面 放在 appl
相关文章
相关标签/搜索