mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
bf0b673640
commit
cce6af9243
@ -116,8 +116,11 @@ class LessCompiler
|
||||
*/
|
||||
public function setTheme($theme)
|
||||
{
|
||||
Logger::debug($theme);
|
||||
$this->theme = $theme;
|
||||
if (is_file($theme) && is_readable($theme)) {
|
||||
$this->theme = $theme;
|
||||
} else {
|
||||
Logger::error('Can\t load theme %s. Make sure that the theme exists and is readable', $theme);
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user