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 * Web>File: Editing documents
18 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
20 require __DIR__
. '/init.php';
22 \TYPO3\CMS\Core\Utility\GeneralUtility
::deprecationLog(
23 'Editing a file is moved to an own module. Please use BackendUtility::getModuleUrl(\'file_edit\') to link to file_edit.php. This script will be removed in two versions.'
26 $editFileController = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Backend\Controller\File\EditFileController
::class);
27 $editFileController->main();
28 $editFileController->printContent();