[TASK] Encapsulate bootstrap base code
[Packages/TYPO3.CMS.git] / index.php
index b292d5a..b411fde 100644 (file)
--- a/index.php
+++ b/index.php
        // We use require instead of require_once here so we get a fatal error if classes/Bootstrap.php is accidentally included twice
        // (which would indicate a clear bug).
 require('typo3/classes/Bootstrap.php');
-Typo3_Bootstrap::getInstance()
-       ->checkEnvironmentOrDie()
-       ->defineBaseConstants()
-       ->defineAndCheckPaths('')
-       ->requireBaseClasses()
-       ->setUpEnvironment();
+Typo3_Bootstrap::getInstance()->baseSetup('');
 
 require(PATH_tslib . 'index_ts.php');
 ?>
\ No newline at end of file