Merge pull request #4636 from Icinga/fix/stylesheet-cannot-be-rendered-on-cli-4635

StyleSheet: Use an absolute path to load responsive login orbs
This commit is contained in:
Johannes Meyer 2022-01-11 16:46:26 +01:00 committed by GitHub
commit 42963d1c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class StyleSheet
} }
if (! $themePath || in_array($theme, self::THEME_WHITELIST, true)) { if (! $themePath || in_array($theme, self::THEME_WHITELIST, true)) {
$this->lessCompiler->addLessFile('css/icinga/login-orbs.less'); $this->lessCompiler->addLessFile($this->pubPath . '/css/icinga/login-orbs.less');
} }
$mode = 'none'; $mode = 'none';