TYPO3 CMS  TYPO3_6-2
tce_file.php
Go to the documentation of this file.
1 <?php
24 require __DIR__ . '/init.php';
25 
26 $fileController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\FileController');
27 
29 if ($formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('formToken'), 'tceAction')) {
30  $fileController->main();
31 }
32 
33 $fileController->finish();
$formprotection
Definition: tce_file.php:28
$fileController
Definition: tce_file.php:26