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