[FEATURE] Add support for native date/time fields
[Packages/TYPO3.CMS.git] / index.php
index 0774e00..b411fde 100644 (file)
--- a/index.php
+++ b/index.php
  * @subpackage tslib
  */
 
-       // We use require instead of require_once here so we get a fatal error if Bootstrap.php is accidentally included twice
+       // 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/Bootstrap.php');
-Typo3_Bootstrap::checkEnvironmentOrDie();
-Typo3_Bootstrap::defineBaseConstants();
-Typo3_Bootstrap::defineAndCheckPaths('');
-Typo3_Bootstrap::requireBaseClasses();
-Typo3_Bootstrap::setUpEnvironment();
+require('typo3/classes/Bootstrap.php');
+Typo3_Bootstrap::getInstance()->baseSetup('');
 
 require(PATH_tslib . 'index_ts.php');
 ?>
\ No newline at end of file