diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php index b36a3a433e5f55f9d3e7e3c1e2fbcd0fda5bec62..cceb541e874ceebd4cb1f8f62760754c2d3a6444 100755 --- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php +++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php @@ -3721,6 +3721,9 @@ class GeneralUtility public static function tempnam($filePrefix, $fileSuffix = '') { $temporaryPath = PATH_site . 'typo3temp/var/transient/'; + if (!is_dir($temporaryPath)) { + GeneralUtility::mkdir_deep($temporaryPath); + } if ($fileSuffix === '') { $tempFileName = static::fixWindowsFilePath(tempnam($temporaryPath, $filePrefix)); } else {