10155_followup.diff

Administrator Admin, 2009-03-08 16:26

Download (1.55 KB)

View differences:

typo3/sysext/cms/tslib/index_ts.php (working copy)
314 314
	$TSFE->makeCacheHash();
315 315
$TT->pull();
316 316

  
317
// *****************************************
318
// Frontend editing
319
// *****************************************
320
if ($TSFE->beUserLogin) {
321
	$BE_USER->initializeFrontendEdit();
322
	if ($BE_USER->frontendEdit instanceof t3lib_frontendedit) {
323
		require_once(t3lib_extMgm::extPath('lang').'lang.php');
324
		$LANG = t3lib_div::makeInstance('language');
325
		$LANG->init($BE_USER->uc['lang']);
326

  
327
		$BE_USER->frontendEdit->initConfigOptions();
328
	}
329
}
330

  
317 331
// *******************************************
318 332
// Get compressed $TCA-Array();
319 333
// After this, we should now have a valid $TCA, though minimized
......
343 357
// ******************************************************
344 358
$TSFE->getConfigArray();
345 359

  
346
// *****************************************
347
// Frontend editing
348
// *****************************************
349
if ($TSFE->beUserLogin) {
350
	$BE_USER->initializeFrontendEdit();
351
	if ($BE_USER->frontendEdit instanceof t3lib_frontendedit) {
352
		require_once(t3lib_extMgm::extPath('lang').'lang.php');
353
		$LANG = t3lib_div::makeInstance('language');
354
		$LANG->init($BE_USER->uc['lang']);
355

  
356
		$BE_USER->frontendEdit->initConfigOptions();
357
	}
358
}
359

  
360 360
// ********************************
361 361
// Convert POST data to internal "renderCharset" if different from the metaCharset
362 362
// *******************************