From d56bde0957aebf2d141d0211acd4896bb6718977 Mon Sep 17 00:00:00 2001 From: Brayan Osmar Pereyra Suxo Date: Wed, 24 Jul 2013 10:32:12 -0400 Subject: [PATCH] Activacion de plugins para DocSystem --- workflow/engine/controllers/installer.php | 6 ++++++ 1 file changed, 6 insertions(+) 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);