tp6最新版本,自定义异常报错500

浏览:2408 发布日期:2020/05/15 分类:ThinkPHP6专区 关键字: TP6
app目录下是正常拦截,如放在demo文件下,再进行配置
<?php
use app\ExceptionHandle;

// 容器Provider定义文件
return [

'think\exception\Handle' => '\\app\\demo\\exception\\Http',
];

直接报错:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
有遇到的并解决的小伙伴吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>