Skip to content

Commit

Permalink
Merge pull request FluidTYPO3#303 from NamelessCoder/forcewrite
Browse files Browse the repository at this point in the history
[TASK] Force write Assets on each request if BE user is logged in
  • Loading branch information
bjo3rnf committed Aug 20, 2013
2 parents bb1fcae + fefc0f3 commit 3e55df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/AssetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down

0 comments on commit 3e55df8

Please sign in to comment.