1:报错展示页面不展示具体的报错信息
2:在config中app.php中屏蔽下边这一行
//自定义异常页面的模板文件
‘exception_tmpl’ => app()->getBasePath() . ‘common’ . DIRECTORY_SEPARATOR . ‘tpl’ . DIRECTORY_SEPARATOR . ‘think_exception.tpl’,
3:屏蔽完报错信息就展示了
TP6不展示报错信息
最新推荐文章于 2024-05-25 15:23:03 发布
1:报错展示页面不展示具体的报错信息
2:在config中app.php中屏蔽下边这一行
//自定义异常页面的模板文件
‘exception_tmpl’ => app()->getBasePath() . ‘common’ . DIRECTORY_SEPARATOR . ‘tpl’ . DIRECTORY_SEPARATOR . ‘think_exception.tpl’,
3:屏蔽完报错信息就展示了