[BUGFIX] Record history with ext:version fatals
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / layout / db_layout.php
index 4049242..5ea4918 100644 (file)
  */
 unset($MCONF);
 require __DIR__ . '/conf.php';
-require $BACK_PATH . 'init.php';
+
+define('TYPO3_MODE', 'BE');
+
+require $BACK_PATH . 'sysext/core/Classes/Core/Bootstrap.php';
+\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->run('typo3/');
 $LANG->includeLLFile('EXT:cms/layout/locallang.xlf');
 
 $BE_USER->modAccess($MCONF, 1);