diff --git a/run.php b/run.php index 9e94cef8..8ac42099 100644 --- a/run.php +++ b/run.php @@ -4,7 +4,10 @@ /** @var \Icinga\Application\Modules\Module $this */ -$this->provideHook('Notifications/ObjectsRenderer'); +if ($this::exists('icingadb')) { + $this->provideHook('Notifications/ObjectsRenderer'); +} + $this->provideHook('authentication', 'SessionStorage', true); $this->addRoute( 'static-file',