fix docs problem

This commit is contained in:
crazywhalecc
2022-03-22 11:52:12 +08:00
parent 35e18d0481
commit b4d175ff98
3 changed files with 11 additions and 5 deletions

View File

@@ -170,6 +170,7 @@ class OnWorkerStart implements SwooleEvent
}
// 检查是否允许热加载phar模块允许的话将遍历phar内的文件
zm_dump(ZMConfig::get('global', 'module_loader.enable_hotload'));
$plugin_enable_hotload = ZMConfig::get('global', 'module_loader')['enable_hotload'] ?? false;
if ($plugin_enable_hotload) {
$list = ModuleManager::getPackedModules();