[BUGFIX] Fix wording of encryption key in Installer
[Packages/TYPO3.CMS.git] / typo3 / init.php
index cf7ad32..5bc3b31 100644 (file)
  */
 define('TYPO3_MODE', 'BE');
 
-require 'sysext/core/Classes/Core/Bootstrap.php';
+require __DIR__ . '/sysext/core/Classes/Core/Bootstrap.php';
 
 \TYPO3\CMS\Core\Core\Bootstrap::getInstance()
        ->baseSetup('typo3/')
+       ->redirectToInstallerIfEssentialConfigurationDoesNotExist('../')
        ->startOutputBuffering()
        ->loadConfigurationAndInitialize()
        ->loadTypo3LoadedExtAndExtLocalconf(TRUE)
        ->applyAdditionalConfigurationSettings()
-       ->initializeTypo3DbGlobal(FALSE)
+       ->initializeTypo3DbGlobal()
        ->checkLockedBackendAndRedirectOrDie()
        ->checkBackendIpOrDie()
        ->checkSslBackendAndRedirectIfNeeded()
-       ->redirectToInstallToolIfDatabaseCredentialsAreMissing()
        ->checkValidBrowserOrDie()
-       ->establishDatabaseConnection()
        ->loadExtensionTables(TRUE)
        ->initializeSpriteManager()
        ->initializeBackendUser()
+       ->initializeBackendAuthentication()
        ->initializeBackendUserMounts()
        ->initializeLanguageObject()
        ->initializeModuleMenuObject()
        ->initializeBackendTemplate()
        ->endOutputBufferingAndCleanPreviousOutput()
        ->initializeOutputCompression();
-?>