[!!!][SECURITY] Allow first install only with FIRST_INSTALL file
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Controller / Action / Step / EnvironmentAndFolders.php
index ae86aa8..808a10f 100644 (file)
@@ -72,7 +72,9 @@ class EnvironmentAndFolders extends AbstractStepAction {
                        }
 
                        // Create enable install tool file after typo3conf & LocalConfiguration were created
+                       /** @var \TYPO3\CMS\Install\Service\EnableFileService $installToolService */
                        $installToolService = $this->objectManager->get('TYPO3\\CMS\\Install\\Service\\EnableFileService');
+                       $installToolService->removeFirstInstallFile();
                        $installToolService->createInstallToolEnableFile();
                }