Force theme compilation in development environment

This commit is contained in:
Eric
2021-02-11 14:31:31 +01:00
parent f4241142c5
commit 68f7880d42

View File

@@ -2912,6 +2912,9 @@ EOF;
* @return string : file path of latest precompiled file to use for setup
*/
public function UseLatestPrecompiledFile(string $sTempTargetDir, string $sPrecompiledFileUri, $sPostCompilationLatestPrecompiledFile, $sThemeId) : ?string {
if (utils::IsDevelopmentEnvironment()) {
return null;
}
$bDataXmlPrecompiledFileExists = false;
clearstatcache();
if (!empty($sPrecompiledFileUri)){