Skip to content

Commit 1b7e715

Browse files
authored
[BUGFIX] Set correct temp file path (#41)
Fixes: #40
1 parent 6108a2f commit 1b7e715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Utility/TemporaryFileUtility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function unlinkTempFiles()
9393
foreach (glob($pathSite . 'typo3temp/' . $this->tempFilePrefix . '*') as $tempFile) {
9494
GeneralUtility::unlink_tempfile($tempFile);
9595
}
96-
foreach (glob($pathSite . 'typo3temp/var/transient/' . $this->tempFilePrefix . '*') as $tempFile) {
96+
foreach (glob(Environment::getVarPath() . '/transient/' . $this->tempFilePrefix . '*') as $tempFile) {
9797
GeneralUtility::unlink_tempfile($tempFile);
9898
}
9999
} else {

0 commit comments

Comments
 (0)