[BUGFIX] Render section index menu if page is not in menu
[Packages/TYPO3.CMS.git] / typo3 / ajax.php
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 /**
16 * AJAX dispatcher
17 * main entry point for AJAX calls in the TYPO3 Backend. Based on $TYPO3_AJAX the Bootstrap let's the request
18 * handled by TYPO3\CMS\Backend\AjaxRequestHandler and AjaxController.
19 * See $TYPO3_CONF_VARS['BE']['AJAX'] and the Core APIs on how to register an AJAX call in the TYPO3 Backend.
20 */
21 $TYPO3_AJAX = TRUE;
22 define('TYPO3_MODE', 'BE');
23
24 require __DIR__ . '/sysext/core/Classes/Core/Bootstrap.php';
25 \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->run('typo3/')->shutdown();