Follow-up to feature #10155: Add controller switching for frontend editing
authorJeff Segars <jsegars@alumni.rice.edu>
Sun, 8 Mar 2009 15:15:56 +0000 (15:15 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Sun, 8 Mar 2009 15:15:56 +0000 (15:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5146 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/index_ts.php

index e185be0..064d31a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-08  Jeff Segars  <jeff@webempoweredchurch.org>
+
+       * Follow-up to feature #10155: Add controller switching for frontend editing
+
 2009-03-08  Ingo Renner  <ingo@typo3.org>
 
        * Added unit tests for the caching framework database cache backend (backported from FLOW3) (part of #10614)
index f63482a..6370cc2 100755 (executable)
@@ -314,6 +314,20 @@ $TT->push('Process ID','');
        $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 @@ $TT->pull();
 // ******************************************************
 $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
 // *******************************