[TASK] Replace nested dirname calls with using the levels parameter
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Composer / InstallerScripts.php
index 7d7545c..01ff981 100644 (file)
@@ -33,7 +33,7 @@ class InstallerScripts implements InstallerScriptsRegistration
     {
         $scriptDispatcher->addInstallerScript(
             new EntryPoint(
-                dirname(dirname(__DIR__)) . '/Resources/Private/Php/install.php',
+                dirname(__DIR__, 2) . '/Resources/Private/Php/install.php',
                 'typo3/install.php'
             )
         );