[BUGFIX] Prevent double assets folder 34/47834/2
authorNicole Cordes <typo3@cordes.co>
Thu, 21 Apr 2016 11:39:53 +0000 (13:39 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 21 Apr 2016 17:09:56 +0000 (19:09 +0200)
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

index 979e9bc..d1cd4bb 100644 (file)
@@ -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()