mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-12-23 01:46:09 +01:00
095c9fc313
As TYPO3 is loading all ext_localconf.php on each call, the existing code can be cleaned up by removing old information, putting BE-only functionality in TYPO3_MODE == 'BE' and install-tool only in Install only mode. Also, some hardcoded require_once statements are removed. Benefits are that FE does not need to load everything all the time. I haven't noticed any side-effects so far, but please test extensively. Resolves: #55593 Releases: 6.2 Change-Id: Ibc37e84cb2af05ddb6b227290330aad31037a018 Reviewed-on: https://review.typo3.org/27286 Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
8 lines
230 B
PHP
8 lines
230 B
PHP
<?php
|
|
|
|
if (!defined('TYPO3_MODE')) {
|
|
die('Access denied.');
|
|
}
|
|
|
|
// Register the edit panel view.
|
|
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = 'TYPO3\\CMS\\Feedit\\FrontendEditPanel';
|