3 * This file is part of the TYPO3 CMS project.
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
12 * The TYPO3 project - inspiring people to share!
14 call_user_func(function() {
15 $classLoader = require __DIR__
. '/contrib/vendor/autoload.php';
16 (new \TYPO3\CMS\Backend\Http\
Application($classLoader))->run(function() {
17 $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xlf');
19 // Document generation
20 $GLOBALS['TYPO3backend'] = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Backend\Controller\BackendController
::class);
21 $GLOBALS['TYPO3backend']->render();