Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Cp7 m53 ongoing fixes (#6369)
Browse files Browse the repository at this point in the history
* fix(install): module without cfg throw warnings
* chore(base): ignore content of www/img/media folder

Resolve CP7M-53
  • Loading branch information
vhr authored Jun 14, 2018
1 parent 0e83e3a commit 3768925
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ nbproject/
composer.lock
GPL_LIB/SmartyCache/*
www/install/tmp/*
!www/img/media/.keep
www/img/media/*
!www/install/tmp/.gitkeep
www/install/install.conf.php
4 changes: 4 additions & 0 deletions src/CentreonLegacy/Core/Module/Information.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ private function getAvailableList()

$configuration = $this->utils->requireConfiguration($modulePath . '/conf.php');

if (!isset($configuration[$moduleName])) {
continue;
}

$licenseFile = $modulePath . '/license/merethis_lic.zl';
$list[$moduleName] = $configuration[$moduleName];
$list[$moduleName]['license_expiration'] = $this->licenseObj->getLicenseExpiration($licenseFile);
Expand Down

0 comments on commit 3768925

Please sign in to comment.