diff --git a/niucloud/app/install/controller/Index.php b/niucloud/app/install/controller/Index.php index 1508f44e7..f847aa44b 100644 --- a/niucloud/app/install/controller/Index.php +++ b/niucloud/app/install/controller/Index.php @@ -484,7 +484,9 @@ class Index extends BaseInstall if (!empty($addon_files)) { foreach ($addon_files as $addon) { - (new CoreAddonInstallService())->install($addon); + $service = (new coreAddonInstallService($addon)); + $service->installCheck(); + $service->install(); } } }