diff --git a/library/Icinga/Application/Modules/Module.php b/library/Icinga/Application/Modules/Module.php index 9bf3d8f30..269666bb0 100644 --- a/library/Icinga/Application/Modules/Module.php +++ b/library/Icinga/Application/Modules/Module.php @@ -1308,7 +1308,7 @@ class Module */ protected function registerAssets() { - if ($this->app->isCli() || ! is_dir($this->assetDir)) { + if (! is_dir($this->assetDir)) { return $this; }