diff --git a/Classes/Service/AssetService.php b/Classes/Service/AssetService.php index 34e16a097..637176152 100644 --- a/Classes/Service/AssetService.php +++ b/Classes/Service/AssetService.php @@ -282,7 +282,7 @@ private function writeCachedMergedFileAndReturnTag($assets, $type) { } $fileRelativePathAndFilename = 'typo3temp/vhs-assets-' . $assetName . '.'. $type; $fileAbsolutePathAndFilename = t3lib_div::getFileAbsFileName($fileRelativePathAndFilename); - if (FALSE === file_exists($fileAbsolutePathAndFilename)) { + if (FALSE === file_exists($fileAbsolutePathAndFilename) || TRUE === isset($GLOBALS['BE_USER'])) { foreach ($assets as $name => $asset) { $settings = $this->extractAssetSettings($asset); if (TRUE === (isset($settings['namedChunks']) && 0 < $settings['namedChunks']) || FALSE === isset($settings['namedChunks'])) {