mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 20:17:32 +08:00
fix(plugin): correct knows issues
This commit is contained in:
@@ -288,6 +288,11 @@ class PluginManager
|
|||||||
'is_enabled' => true,
|
'is_enabled' => true,
|
||||||
'updated_at' => now(),
|
'updated_at' => now(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// 初始化插件
|
||||||
|
if (method_exists($plugin, 'boot')) {
|
||||||
|
$plugin->boot();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user