Activacion de plugins para DocSystem
This commit is contained in:
@@ -1495,6 +1495,12 @@ class Installer extends Controller
|
|||||||
* Active plugins to enterprise
|
* 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");
|
$plugins = glob(PATH_CORE."plugins/*.php");
|
||||||
foreach ($plugins as $value) {
|
foreach ($plugins as $value) {
|
||||||
$dataPlugin = pathinfo($value);
|
$dataPlugin = pathinfo($value);
|
||||||
|
|||||||
Reference in New Issue
Block a user