From 3cb045435e7e493119d13242855b75e24ce54f7b Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Thu, 3 Jul 2025 21:54:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Autoinstall=20modules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bl-kernel/boot/rules/60.plugins.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bl-kernel/boot/rules/60.plugins.php b/bl-kernel/boot/rules/60.plugins.php index 87a80198..8301f04b 100644 --- a/bl-kernel/boot/rules/60.plugins.php +++ b/bl-kernel/boot/rules/60.plugins.php @@ -102,6 +102,9 @@ function buildPlugins($path, $autoActivate = false) // If the plugin is installed insert on the hooks if ($Plugin->installed() || $autoActivate) { + if (!$Plugin->installed()) { + $Plugin->install(); + } // Include custom hooks if (!empty($Plugin->customHooks)) { foreach ($Plugin->customHooks as $customHook) {