From f21b7a711cf45f803d0bc456758bd21c77416084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E6=A0=88=E5=B0=8F=E5=AD=A6=E7=94=9F?= <1518079521@qq.com> Date: Tue, 10 Oct 2023 19:01:54 +0800 Subject: [PATCH] Update Index.php --- niucloud/app/install/controller/Index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); } } }