X-Git-Url: https://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/d091639dbbf8a808862e36e7b8de5ecb16b9998f..b94456a6ab3c0fa2ffbeca499ae612385884794e:/typo3/dummy.php diff --git a/typo3/dummy.php b/typo3/dummy.php index 87d3fa9..b904f7e 100644 --- a/typo3/dummy.php +++ b/typo3/dummy.php @@ -1,85 +1,46 @@ + * @author Kasper Skårhøj */ - -require ('init.php'); -require ('template.php'); - - - - - - - - - -/** - * Script Class, creating the content for the dummy script - which is just blank output. - * - * @author Kasper Skårhøj - * @package TYPO3 - * @subpackage core +require 'init.php'; +/* + * @deprecated since 6.0, the classname SC_dummy and this file is obsolete + * and will be removed by 7.0. The class was renamed and is now located at: + * typo3/sysext/backend/Classes/Controller/DummyController.php */ -class SC_dummy { - var $content; - - /** - * Create content for the dummy script - outputting a blank page. - * - * @return void - */ - function main() { - // Start page - $this->content.=$GLOBALS['TBE_TEMPLATE']->startPage('Dummy document'); - - // End page: - $this->content.=$GLOBALS['TBE_TEMPLATE']->endPage(); - } - - /** - * Outputting the accumulated content to screen - * - * @return void - */ - function printContent() { - echo $this->content; - } -} - +require_once \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('backend') . 'Classes/Controller/DummyController.php'; // Make instance: -$SOBE = t3lib_div::makeInstance('SC_dummy'); +$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\DummyController'); $SOBE->main(); $SOBE->printContent(); - ?> \ No newline at end of file