[TASK] Replace getSpriteIcon in compatibility6
[Packages/TYPO3.CMS.git] / typo3 / index.php
index 3871198..7f09f82 100644 (file)
  */
 
 /**
- * Login-screen of TYPO3.
- *
- * @author Kasper Skårhøj <kasperYYYY@typo3.com>
+ * Main entry point for all backend-related scripts.
  */
 call_user_func(function() {
-       $classLoader = require __DIR__ . '/contrib/vendor/autoload.php';
-       (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run(function() {
-               // currently implemented as a closure as there is no Request/Response implementation or routing in the backend
-               $loginController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\LoginController::class);
-               $loginController->main();
-       });
+       $classLoader = require __DIR__ . '/../vendor/autoload.php';
+       (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run();
 });