1
0
Эх сурвалжийг харах

Sample code on how to install module programmatically

Alex Trofimov 5 жил өмнө
parent
commit
0dfee86dbe

+ 8 - 0
samples/install_module.php

@@ -0,0 +1,8 @@
+<?php
+
+$aPathInfo = pathinfo(__FILE__);
+require_once ($aPathInfo['dirname'] . '/../inc/header.inc.php');
+
+$a = BxDolStudioInstallerUtils::getInstance()->perform('boonex/intercom/', 'install', array('auto_enable' => true));
+echo json_encode($a);
+