Skip to content

Commit 0c40932

Browse files
liaynsbuerk
authored andcommitted
[BUGFIX] Ensure folder for ENABLE_INSTALL_TOOL file exists
In composer installations the var/transient folder may not exist yet, so it needs to be created. Resolves: #105870 Releases: main, 13.4, 12.4 Change-Id: I8664330038bcec8e8c3763efd2dd3aab787382b3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87606 Tested-by: core-ci <typo3@b13.com> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Garvin Hicking <gh@faktor-e.de> Tested-by: Garvin Hicking <gh@faktor-e.de> Tested-by: Stefan Bürk <stefan@buerk.tech>
1 parent e3db19d commit 0c40932

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

typo3/sysext/install/Classes/Service/EnableFileService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static function createInstallToolEnableFile(): bool
5555
{
5656
$installEnableFilePath = self::getInstallToolEnableFilePath();
5757
if (!is_file($installEnableFilePath)) {
58+
GeneralUtility::mkdir_deep(dirname($installEnableFilePath));
5859
$result = touch($installEnableFilePath);
5960
} else {
6061
$result = true;

0 commit comments

Comments
 (0)