[BUGFIX] Only reload pagetree if pages are changed
[Packages/TYPO3.CMS.git] / typo3 / file_upload.php
index 88ed183..2356e2d 100644 (file)
  */
 require __DIR__ . '/init.php';
 
+\TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog(
+       'Uploading a file is moved to an own module. Please use BackendUtility::getModuleUrl(\'file_upload\') to link to this script. This script will be removed.'
+);
+
 $fileUploadController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\File\\FileUploadController');
 $fileUploadController->main();
-$fileUploadController->printContent();
+$fileUploadController->printContent();
\ No newline at end of file