插件 bootstrap.php 进程启动配置不会自动合并

Tinywan

插件定义

提示:Call to a member function enforce() on null

主 bootstrap.php 进程启动配置 才会生效

1147 1 0
1个回答

walkor

https://github.com/walkor/webman/blob/4a90e07e6c3d1751e2166108e41be330a48e23ed/support/bootstrap.php#L73-L80

这里的代码会加载plugin下的bootstrap配置,看下你本地有没有这块代码

年代过于久远,无法发表回答
🔝