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