[TASK] Include jQuery with bower and update it to 1.11.3
[Packages/TYPO3.CMS.git] / typo3 / alt_file_navframe.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 * Folder tree in the File main module.
17 *
18 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
19 */
20
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('Usage of alt_file_navframe.php is deprecated since TYPO3 CMS 7, and will be removed in TYPO3 CMS 8');
25
26 // Make instance if it is not an AJAX call
27 if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX)) {
28 $fileSystemNavigationFrameController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController::class);
29 $fileSystemNavigationFrameController->initPage();
30 $fileSystemNavigationFrameController->main();
31 $fileSystemNavigationFrameController->printContent();
32 }
33 });
34 });