[TYPO3-core] RFC Bug #11268: Optimize initialization of frontend editing

Oliver Hader oliver at typo3.org
Thu Jun 4 17:28:58 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11268

Branch: Trunk

Problem:
Frontend editing is currently initialized even if the admin panel has no
frontend editing enabled. Furthermore t3lib_frontendedit creates an
instance of t3lib_TCEmain once it gets instantiated.

Solution:
t3lib_frontendedit should only be loaded when it's required - the same
fits to t3lib_TCEmain. $BE_USER->isFrontendEditingActive() determines
whether the frontend editing class should be initialized.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list