mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°8031 - Make all portal bricks use custom templates for all templates (#696)
Service implementation
This commit is contained in:
@@ -109,7 +109,11 @@ class InterfaceDiscovery
|
||||
|
||||
// guess all the autoload class maps from the extensions
|
||||
$aAutoloadClassMaps = glob(APPROOT.'env-'.utils::GetCurrentEnvironment().'/*/vendor/composer/autoload_classmap.php');
|
||||
if($aAutoloadClassMaps === false) {
|
||||
$aAutoloadClassMaps = [];
|
||||
}
|
||||
$aAutoloadClassMaps[] = APPROOT.'lib/composer/autoload_classmap.php';
|
||||
$aAutoloadClassMaps[] = APPROOT.'env-'.utils::GetCurrentEnvironment().'/itop-portal-base/portal/vendor/composer/autoload_classmap.php';
|
||||
|
||||
if ($this->GetCacheMode() === self::CACHE_DYNAMIC) {
|
||||
$this->oCacheService->Store('InterfaceDiscovery', 'autoload_classmaps', $aAutoloadClassMaps);
|
||||
|
||||
Reference in New Issue
Block a user