[TASK] Encapsulate bootstrap base code
[Packages/TYPO3.CMS.git] / typo3 / cli_dispatch.phpsh
index 657b270..864c35b 100755 (executable)
@@ -47,21 +47,14 @@ Typo3_Bootstrap_Cli::checkEnvironmentOrDie();
 
 require('classes/Bootstrap.php');
 Typo3_Bootstrap::getInstance()
-       ->checkEnvironmentOrDie()
-       ->defineBaseConstants()
-       ->defineAndCheckPaths('typo3/')
-       ->requireBaseClasses()
-       ->setUpEnvironment()
-       ->loadDefaultTypo3ConfVars()
+       ->baseSetup('typo3/')
        ->registerExtDirectComponents()
-       ->initializeGlobalVariables()
        ->checkLocalconfExistsOrDie()
        ->setGlobalDatabaseVariablesToEmptyString()
        ->loadMainConfigurationFile()
        ->defineTypo3DatabaseConstants()
        ->initializeCachingFramework()
        ->registerAutoloader()
-       ->addCorePearPathToIncludePath()
        ->checkUtf8DatabaseSettingsOrDie()
        ->transferDeprecatedCurlSettings()
        ->setCacheHashOptions()
@@ -82,7 +75,6 @@ Typo3_Bootstrap::getInstance()
        ->setFinalCachingFrameworkCacheConfiguration()
        ->defineLoggingAndExceptionConstants()
        ->unsetReservedGlobalVariables()
-       ->initializeGlobalTimeVariables()
        ->initializeTypo3DbGlobal(TRUE);
 Typo3_Bootstrap_Cli::initializeCliKeyOrDie();
 Typo3_Bootstrap::getInstance()