From b9c2c45af1a5b371025dfaca99fe61c0aacbf877 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 4 Jun 2019 09:43:39 +0200 Subject: [PATCH] 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. --- library/Icinga/Web/StyleSheet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/StyleSheet.php b/library/Icinga/Web/StyleSheet.php index 21a69f252..e64a49b06 100644 --- a/library/Icinga/Web/StyleSheet.php +++ b/library/Icinga/Web/StyleSheet.php @@ -83,7 +83,7 @@ class StyleSheet $app = Icinga::app(); $this->app = $app; $this->lessCompiler = new LessCompiler(); - $this->pubPath = $app->getBootstrapDirectory(); + $this->pubPath = $app->getBaseDir('public'); $this->collect(); }