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!
16 * New database item menu
18 * This script lets users choose a new database element to create.
19 * Includes a wizard mode for visually pointing out the position of new pages
21 call_user_func(function() {
22 $classLoader = require __DIR__
. '/contrib/vendor/autoload.php';
23 (new \TYPO3\CMS\Backend\Http\
Application($classLoader))->run(function() {
24 \TYPO3\CMS\Core\Utility\GeneralUtility
::deprecationLog(
25 'The entry point to create a new database entry was moved to an own module. Please use BackendUtility::getModuleUrl(\'db_new\') to link to db_new.php. This script will be removed in TYPO3 CMS 8.'
28 $newRecordController = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Backend\Controller\NewRecordController
::class);
29 $newRecordController->main();
30 $newRecordController->printContent();