diff --git a/workflow/engine/controllers/installer.php b/workflow/engine/controllers/installer.php index f491122f4..a683ab8d2 100755 --- a/workflow/engine/controllers/installer.php +++ b/workflow/engine/controllers/installer.php @@ -1495,6 +1495,12 @@ class Installer extends Controller * Active plugins to enterprise */ + if (!defined("PATH_PM_ENTERPRISE")) { + define("PATH_PM_ENTERPRISE", PATH_CORE . "/plugins/enterprise/"); + } + set_include_path(PATH_PM_ENTERPRISE . PATH_SEPARATOR . get_include_path()); + require_once ('classes/model/AddonsManager.php'); + $plugins = glob(PATH_CORE."plugins/*.php"); foreach ($plugins as $value) { $dataPlugin = pathinfo($value);