CLI: Also register assets
Because assets are not registered in the CLI context, CLI actions cannot access the full style sheet. This is necessary for Icinga Reporting though in order to send PDF reports.
This commit is contained in:
parent
886925959d
commit
49eb245580
|
@ -1308,7 +1308,7 @@ class Module
|
|||
*/
|
||||
protected function registerAssets()
|
||||
{
|
||||
if ($this->app->isCli() || ! is_dir($this->assetDir)) {
|
||||
if (! is_dir($this->assetDir)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue