[BUGFIX] ScriptPreviewRenderer make use of protected function
[Packages/TYPO3.CMS.git] / typo3 / backend.php
index 4d0025a..66c23f1 100644 (file)
  *
  * The TYPO3 project - inspiring people to share!
  */
-require_once 'init.php';
+define('TYPO3_MODE', 'BE');
+
+require __DIR__ . '/sysext/core/Classes/Core/Bootstrap.php';
+\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->run('typo3/');
 $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xlf');
 
 // Document generation