[TASK] Include jQuery with bower and update it to 1.11.3
[Packages/TYPO3.CMS.git] / typo3 / login_frameset.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 * Login frameset
17 *
18 * This script generates a login-frameset used when the user must relogin.
19 *
20 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
21 */
22 define('TYPO3_PROCEED_IF_NO_USER', 1);
23 call_user_func(function() {
24 $classLoader = require __DIR__ . '/contrib/vendor/autoload.php';
25 (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run(function() {
26 \TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog(
27 'Login frameset is moved to an own module. Please use BackendUtility::getModuleUrl(\'login_frameset\') to link to login_frameset.php. This script will be removed in TYPO3 CMS 8.'
28 );
29
30 // Make instance:
31 $loginFramesetController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\LoginFramesetController::class);
32 $loginFramesetController->main();
33 $loginFramesetController->printContent();
34 });
35 });