CLI: Fix CSS path

CLI commands which require our LESS parser had no access to our CSS
because the public path was set to the path of the icingacli executable
which is most likely bin.
This commit is contained in:
Eric Lippmann 2019-06-04 09:43:39 +02:00
parent d560ab011c
commit b9c2c45af1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class StyleSheet
$app = Icinga::app(); $app = Icinga::app();
$this->app = $app; $this->app = $app;
$this->lessCompiler = new LessCompiler(); $this->lessCompiler = new LessCompiler();
$this->pubPath = $app->getBootstrapDirectory(); $this->pubPath = $app->getBaseDir('public');
$this->collect(); $this->collect();
} }