yangweijie/think-ignition

ignition for ThinkPHP

v1.0.2 2024-03-12 09:32 UTC

This package is auto-updated.

Last update: 2024-04-12 09:43:29 UTC


README

ignition for ThinkPHP

安装

composer require yangweijie/think-ignition

修改 app下provider

<?php
use think\ignition\ExceptionHandle;
use app\Request;

// 容器Provider定义文件
return [
    'think\Request'          => Request::class,
    'think\exception\Handle' => ExceptionHandle::class,
];

将 app.show_error_msg 设为 true

// 显示错误信息
'show_error_msg'   => true,