From c292a518d5e39b626f42630caaf998faac08ea7e Mon Sep 17 00:00:00 2001 From: Nicole Cordes <typo3@cordes.co> Date: Thu, 21 Apr 2016 13:39:53 +0200 Subject: [PATCH] [BUGFIX] Prevent double assets folder With the cleanup in https://review.typo3.org/46096/ double temp folders were introduced for temporary image files. Now temporary files are stored in typo3temp/assets/assets/images. This patch resets the tempPath variable of the GraphicalFunctions class to make sure only one assets folder is used. Resolves: #75841 Releases: master Change-Id: I968fab0175ba54037fa82d8721aca13f81d90c83 Reviewed-on: https://review.typo3.org/47834 Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org> Tested-by: Philipp Gampe <philipp.gampe@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org> --- typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php index 979e9bcfe1ee..d1cd4bb988c2 100644 --- a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php +++ b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php @@ -219,7 +219,7 @@ class GraphicalFunctions * * @var string */ - public $tempPath = 'typo3temp/assets/'; + public $tempPath = 'typo3temp/'; /** * Prefix for relative paths. Used in "show_item.php" script. Is prefixed the output file name IN imageMagickConvert() -- GitLab