Revert "[BUGFIX] Repair f:image VH for Backend" 75/26975/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Tue, 21 Jan 2014 14:48:07 +0000 (15:48 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 21 Jan 2014 14:59:50 +0000 (15:59 +0100)
This change is reverted in favor of a cleaner approach:
https://review.typo3.org/23652

This reverts commit 2e46303631076308fb3d2434d128c3e339f27b9a

Change-Id: I0a297b9ae85e0b02ad3753d752abe4f31f260c12
Reviewed-on: https://review.typo3.org/26975
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php

index 4e73065..c3617bc 100644 (file)
@@ -2270,8 +2270,7 @@ class GraphicalFunctions {
                                }
                                // Making the temporary filename:
                                $this->createTempSubDir('pics/');
-                               $relativeOutputPath = $this->tempPath . 'pics/' . $this->filenamePrefix . $theOutputName . '.' . $newExt;
-                               $output = (TYPO3_MODE === 'BE') ? PATH_site . $relativeOutputPath: $this->absPrefix . $relativeOutputPath;
+                               $output = $this->absPrefix . $this->tempPath . 'pics/' . $this->filenamePrefix . $theOutputName . '.' . $newExt;
                                // Register temporary filename:
                                $GLOBALS['TEMP_IMAGES_ON_PAGE'][] = $output;
                                if ($this->dontCheckForExistingTempFile || !$this->file_exists_typo3temp_file($output, $imagefile)) {