TYPO3:在getForLocalProcessing()之后清除typo3temp / var / transient

时间:2019-03-06 10:00:32

标签: typo3

安装TYPO3的文件夹typo3temp/var/transient中充满了GB的fal-tempfile-*文件。

经过一些研究,我怀疑是EXT:exif_orientation_helper引起问题的原因。该分机呼叫FileInterface::getForLocalProcessing()两次:

https://github.com/hausformat/exif_orientation_helper/blob/master/Classes/Service/ExifOrientationService.php#L69 https://github.com/hausformat/exif_orientation_helper/blob/master/Classes/Service/ExifOrientationService.php#L113

在处理文件后删除文件需要做什么?
我是否正确,我只需要调用FileInterface::getForLocalProcessing(false)来阻止fal-tempfile-*文件?

1 个答案:

答案 0 :(得分:0)

使用EXT:exif_orientation_helper的0.2.1版解决了该问题。 使用FileInterface::getForLocalProcessing(false)是防止不必要文件的正确方法。