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 * Page navigation tree for the Web module
18 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
20 require_once 'init.php';
22 \TYPO3\CMS\Core\Utility\GeneralUtility
::deprecationLog('Usage of alt_db_navframe.php is deprecated since TYPO3 CMS 7, and will be removed in TYPO3 CMS 8');
23 // Make instance if it is not an AJAX call
24 if (!(TYPO3_REQUESTTYPE
& TYPO3_REQUESTTYPE_AJAX
)) {
25 $pageTreeNavigationController = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Backend\Controller\PageTreeNavigationController
::class);
26 $pageTreeNavigationController->initPage();
27 $pageTreeNavigationController->main();
28 $pageTreeNavigationController->printContent();