[TASK] RTE: Use own user agent identification
[Packages/TYPO3.CMS.git] / typo3 / show_rechis.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 * Shows information about a database or file item
17 *
18 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
19 */
20 require __DIR__ . '/init.php';
21
22 \TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog(
23 'The history of a record was moved to a separate module. Please use BackendUtility::getModuleUrl(\'record_history\') to link to this script.
24 This script will be removed two versions after 6.2.'
25 );
26
27 $elementHistoryController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementHistoryController');
28 $elementHistoryController->main();
29 $elementHistoryController->printContent();