Index: typo3/sysext/cms/tslib/index_ts.php =================================================================== --- typo3/sysext/cms/tslib/index_ts.php (revision 5125) +++ typo3/sysext/cms/tslib/index_ts.php (working copy) @@ -314,6 +314,20 @@ $TSFE->makeCacheHash(); $TT->pull(); +// ***************************************** +// Frontend editing +// ***************************************** +if ($TSFE->beUserLogin) { + $BE_USER->initializeFrontendEdit(); + if ($BE_USER->frontendEdit instanceof t3lib_frontendedit) { + require_once(t3lib_extMgm::extPath('lang').'lang.php'); + $LANG = t3lib_div::makeInstance('language'); + $LANG->init($BE_USER->uc['lang']); + + $BE_USER->frontendEdit->initConfigOptions(); + } +} + // ******************************************* // Get compressed $TCA-Array(); // After this, we should now have a valid $TCA, though minimized @@ -343,20 +357,6 @@ // ****************************************************** $TSFE->getConfigArray(); -// ***************************************** -// Frontend editing -// ***************************************** -if ($TSFE->beUserLogin) { - $BE_USER->initializeFrontendEdit(); - if ($BE_USER->frontendEdit instanceof t3lib_frontendedit) { - require_once(t3lib_extMgm::extPath('lang').'lang.php'); - $LANG = t3lib_div::makeInstance('language'); - $LANG->init($BE_USER->uc['lang']); - - $BE_USER->frontendEdit->initConfigOptions(); - } -} - // ******************************** // Convert POST data to internal "renderCharset" if different from the metaCharset // *******************************