diff --git a/configuration.php b/configuration.php index a3922b4f..bb5050f3 100644 --- a/configuration.php +++ b/configuration.php @@ -4,12 +4,19 @@ namespace Icinga\Module\Icingadb { + use Icinga\Application\Logger; use Icinga\Authentication\Auth; /** @var \Icinga\Application\Modules\Module $this */ $this->provideSetupWizard('Icinga\Module\Icingadb\Setup\IcingaDbWizard'); + if (! $this::exists('ipl')) { + // TODO: Replace this once we have proper dependency management + Logger::warning(t('Module "ipl" is not enabled. This module is mandatory for Icinga DB Web')); + return; + } + /** @var \Icinga\Application\Modules\Module $this */ $section = $this->menuSection('Icinga DB', [ 'icon' => 'database',