[TASK] Adjust contrast colors in diff view
[Packages/TYPO3.CMS.git] / typo3 / index.php
index 709fec5..7f09f82 100644 (file)
@@ -13,9 +13,9 @@
  */
 
 /**
- * Main entry point for the TYPO3 Backend.
- * See Backend/RequestHandler.php on how the setup and the Routing is done.
+ * Main entry point for all backend-related scripts.
  */
-define('TYPO3_MODE', 'BE');
-require __DIR__ . '/sysext/core/Classes/Core/Bootstrap.php';
-\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->run('typo3/')->shutdown();
+call_user_func(function() {
+       $classLoader = require __DIR__ . '/../vendor/autoload.php';
+       (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run();
+});