‪TYPO3CMS  9.5
backend.php
Go to the documentation of this file.
1 <?php
2 /*
3  * This file is part of the TYPO3 CMS project.
4  *
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.
8  *
9  * For the full copyright and license information, please read the
10  * LICENSE.txt file that was distributed with this source code.
11  *
12  * The TYPO3 project - inspiring people to share!
13  */
14 
15 // Exit early if php requirement is not satisfied.
16 if (PHP_VERSION_ID < 70200) {
17  die('This version of TYPO3 CMS requires PHP 7.2 or above');
18 }
19 
20 // Set up the application for the backend
21 call_user_func(function () {
22  $classLoader = require __DIR__ . '/../../../../../../vendor/autoload.php';
23  ‪\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \‪TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE);
24  ‪\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\‪TYPO3\CMS\Backend\Http\Application::class)->run();
25 });
‪TYPO3
‪TYPO3\CMS\Core\Core\Bootstrap\init
‪static ContainerInterface init(ClassLoader $classLoader, bool $failsafe=false)
Definition: Bootstrap.php:78
‪TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\run
‪static run(int $entryPointLevel=0, int $requestType=self::REQUESTTYPE_FE)
Definition: SystemEnvironmentBuilder.php:81