mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-22 06:26:09 +01:00
[TASK] Cleanup ext_localconf.php of sysexts
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
This commit is contained in:
parent
0a990a3f41
commit
095c9fc313
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
<?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'] = 'EXT:feedit/Classes/FrontendEditPanel.php:TYPO3\\CMS\\Feedit\\FrontendEditPanel';
|
||||
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = 'TYPO3\\CMS\\Feedit\\FrontendEditPanel';
|
||||
|
|
Loading…
Reference in a new issue