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) {