[TASK] Encapsulate bootstrap base code
[Packages/TYPO3.CMS.git] / typo3 / init.php
index 8ee9cc2..6c17d78 100644 (file)
@@ -62,21 +62,14 @@ define('TYPO3_MODE', 'BE');
 require('classes/Bootstrap.php');
 Typo3_Bootstrap::getInstance()
        ->startOutputBuffering()
-       ->checkEnvironmentOrDie()
-       ->defineBaseConstants()
-       ->defineAndCheckPaths('typo3/')
-       ->requireBaseClasses()
-       ->setUpEnvironment()
-       ->loadDefaultTypo3ConfVars()
+       ->baseSetup('typo3/')
        ->registerExtDirectComponents()
-       ->initializeGlobalVariables()
        ->checkLocalconfExistsOrDie()
        ->setGlobalDatabaseVariablesToEmptyString()
        ->loadMainConfigurationFile()
        ->defineTypo3DatabaseConstants()
        ->initializeCachingFramework()
        ->registerAutoloader()
-       ->addCorePearPathToIncludePath()
        ->checkUtf8DatabaseSettingsOrDie()
        ->transferDeprecatedCurlSettings()
        ->setCacheHashOptions()
@@ -97,7 +90,6 @@ Typo3_Bootstrap::getInstance()
        ->setFinalCachingFrameworkCacheConfiguration()
        ->defineLoggingAndExceptionConstants()
        ->unsetReservedGlobalVariables()
-       ->initializeGlobalTimeVariables()
        ->initializeTypo3DbGlobal(FALSE)
        ->checkLockedBackendAndRedirectOrDie()
        ->checkBackendIpOrDie()
@@ -114,4 +106,4 @@ Typo3_Bootstrap::getInstance()
        ->initializeBackendTemplate()
        ->endOutputBufferingAndCleanPreviousOutput()
        ->initializeOutputCompression();
-?>
\ No newline at end of file
+?>