avoid to read SCSS signature when no file touched and itop theme loading only + create parameters.json folder when necessary

This commit is contained in:
odain
2020-05-04 15:16:50 +02:00
parent c1b3cb1e7b
commit f88f321d79
2 changed files with 9 additions and 7 deletions

View File

@@ -2759,7 +2759,7 @@ EOF;
{
$this->Log("Precompiled file not found: '$sPrecompiledFile'");
}
ThemeHandler::CompileTheme($sThemeId, $aThemeParameters, $aImportsPaths, $sTempTargetDir);
ThemeHandler::CompileTheme($sThemeId, true, $aThemeParameters, $aImportsPaths, $sTempTargetDir);
}
$this->Log(sprintf('Themes compilation took: %.3f ms for %d themes.', (microtime(true) - $fStart)*1000.0, count($aThemes)));
}