Пример #1
0
 /**
  * Complete bootstrap in traditional order and with no possibility to inject steps
  */
 public function runLegacyBootstrap()
 {
     $this->initializeConfigurationManagement();
     $this->defineDatabaseConstants();
     $this->initializeCachingFramework();
     Scripts::initializeClassLoaderCaches($this);
     $this->registerExtDirectComponents();
     $this->transferDeprecatedCurlSettings();
     $this->setCacheHashOptions();
     $this->initializeL10nLocales();
     $this->convertPageNotFoundHandlingToBoolean();
     if (method_exists($this, 'registerGlobalDebugFunctions')) {
         $this->registerGlobalDebugFunctions();
     }
     $this->setMemoryLimit();
     $this->loadTypo3LoadedExtAndExtLocalconf();
     Scripts::initializeErrorHandling($this);
     $this->applyAdditionalConfigurationSettings();
     $this->initializeTypo3DbGlobal();
     $this->loadExtensionTables();
     $this->initializeBackendUser();
     $this->initializeBackendAuthentication();
     if (method_exists($this, 'initializeBackendUserMounts')) {
         $this->initializeBackendUserMounts();
     }
     $this->initializeLanguageObject();
     $this->flushOutputBuffers();
 }
Пример #2
0
 /**
  * Complete bootstrap in traditional order and with no possibility to inject steps
  */
 public function runLegacyBootstrap()
 {
     $this->initializeConfigurationManagement();
     $this->defineDatabaseConstants();
     $this->initializeCachingFramework();
     Scripts::initializeClassLoaderCaches($this);
     $this->registerExtDirectComponents();
     if (is_callable(array($this, 'transferDeprecatedCurlSettings'))) {
         $this->transferDeprecatedCurlSettings();
     }
     $this->setCacheHashOptions();
     $this->initializeL10nLocales();
     $this->convertPageNotFoundHandlingToBoolean();
     if (method_exists($this, 'registerGlobalDebugFunctions')) {
         $this->registerGlobalDebugFunctions();
     }
     $this->setMemoryLimit();
     $this->loadTypo3LoadedExtAndExtLocalconf();
     Scripts::initializeErrorHandling($this);
     $this->applyAdditionalConfigurationSettings();
     $this->initializeTypo3DbGlobal();
     $this->loadExtensionTables();
     $this->initializeBackendUser();
     // TODO: avoid throwing a deprecation message with this call
     $GLOBALS['BE_USER']->checkCLIuser();
     $GLOBALS['BE_USER']->backendCheckLogin();
     if (method_exists($this, 'initializeBackendUserMounts')) {
         $this->initializeBackendUserMounts();
     }
     $this->initializeLanguageObject();
     $this->flushOutputBuffers();
 }
Пример #3
0
 /**
  * @param string $commandIdentifier
  */
 protected function boot($commandIdentifier)
 {
     $sequence = $this->bootstrap->buildBootingSequenceForCommand($commandIdentifier);
     $sequence->invoke($this->bootstrap);
     $this->objectManager = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager');
     $this->dispatcher = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Dispatcher');
     Scripts::overrideImplementation('TYPO3\\CMS\\Extbase\\Command\\HelpCommandController', 'Helhum\\Typo3Console\\Command\\HelpCommandController');
 }