File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,5 @@ $config['smtpPassword'] = '{{ smtpPassword }}';
4949// misc
5050$config ['develMode'] = TRUE;
5151$config ['language'] = '{{ language }}';
52- $config ['enterpriseAppsRepository'] = '{{ enterpriseAppsRepository }}';
53- $config ['externalAppsRepositories'] = [
54- 'MyCompany' = > __DIR__ . '/apps/external/MyCompany'
52+ $config ['appRepositories'] = [
5553];
Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ require_once(__DIR__ . "/ConfigEnv.php");
1313// load autoloaders
1414require(($config['releaseFolder'] ?? '.') . "/vendor/autoload.php");
1515
16+ if (is_array($config['appRepositories']) && count($config['appRepositories']) > 0) {
17+ foreach ($config [' appRepositories' ] as $appRepository ) {
18+ if (is_dir($appRepository )) {
19+ require($appRepository . ' /autoload.php' );
20+ }
21+ }
22+ }
23+
1624// init main class
1725$hubleto = new \Hubleto\Erp\Loader($config);
1826$hubleto->init();
You can’t perform that action at this time.
0 commit comments