[BUGFIX] Can not expand new collapsed IRRE record with RTE field
[Packages/TYPO3.CMS.git] / typo3 / init.php
index e120a8f..f3272ad 100644 (file)
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
+
 /**
  * TYPO3 Backend initialization
  *
  * This script is called by every backend script.
  * The script authenticates the backend user.
- * In addition this script also initializes the database and other stuff by including the script localconf.php
+ * In addition this script also initializes the database and other depending on LocalConfiguration.php
  *
  * IMPORTANT:
  * This script exits if no user is logged in!
  * please refer to the document "Inside TYPO3"
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
- * @package TYPO3
- * @subpackage core
  */
 define('TYPO3_MODE', 'BE');
-// 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 'classes/Bootstrap.php';
-\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->startOutputBuffering()->baseSetup('typo3/')->registerExtDirectComponents()->populateLocalConfiguration()->initializeCachingFramework()->registerAutoloader()->checkUtf8DatabaseSettingsOrDie()->transferDeprecatedCurlSettings()->setCacheHashOptions()->enforceCorrectProxyAuthScheme()->setDefaultTimezone()->initializeL10nLocales()->configureImageProcessingOptions()->convertPageNotFoundHandlingToBoolean()->registerGlobalDebugFunctions()->registerSwiftMailer()->configureExceptionHandling()->setMemoryLimit()->defineTypo3RequestTypes()->populateTypo3LoadedExtGlobal(TRUE)->loadAdditionalConfigurationFromExtensions(TRUE)->deprecationLogForOldExtCacheSetting()->initializeExceptionHandling()->requireAdditionalExtensionFiles()->setFinalCachingFrameworkCacheConfiguration()->defineLoggingAndExceptionConstants()->unsetReservedGlobalVariables()->initializeTypo3DbGlobal(FALSE)->checkLockedBackendAndRedirectOrDie()->checkBackendIpOrDie()->checkSslBackendAndRedirectIfNeeded()->redirectToInstallToolIfDatabaseCredentialsAreMissing()->checkValidBrowserOrDie()->establishDatabaseConnection()->loadExtensionTables(TRUE)->initializeSpriteManager()->initializeBackendUser()->initializeBackendUserMounts()->initializeLanguageObject()->initializeModuleMenuObject()->initializeBackendTemplate()->endOutputBufferingAndCleanPreviousOutput()->initializeOutputCompression();
+
+require 'sysext/core/Classes/Core/Bootstrap.php';
+
+\TYPO3\CMS\Core\Core\Bootstrap::getInstance()
+       ->baseSetup('typo3/')
+       ->startOutputBuffering()
+       ->loadConfigurationAndInitialize()
+       ->loadTypo3LoadedExtAndExtLocalconf(TRUE)
+       ->applyAdditionalConfigurationSettings()
+       ->initializeTypo3DbGlobal(FALSE)
+       ->checkLockedBackendAndRedirectOrDie()
+       ->checkBackendIpOrDie()
+       ->checkSslBackendAndRedirectIfNeeded()
+       ->redirectToInstallToolIfDatabaseCredentialsAreMissing()
+       ->checkValidBrowserOrDie()
+       ->establishDatabaseConnection()
+       ->loadExtensionTables(TRUE)
+       ->initializeSpriteManager()
+       ->initializeBackendUser()
+       ->initializeBackendUserMounts()
+       ->initializeLanguageObject()
+       ->initializeModuleMenuObject()
+       ->initializeBackendTemplate()
+       ->endOutputBufferingAndCleanPreviousOutput()
+       ->initializeOutputCompression();
 ?>
\ No newline at end of file