2009-07-01 19:18:53 +02:00
|
|
|
<?php
|
2014-07-05 14:19:05 +02:00
|
|
|
defined('TYPO3_MODE') or die();
|
2014-02-02 15:58:46 +01:00
|
|
|
|
2013-02-03 19:53:04 +01:00
|
|
|
// Register the edit panel view.
|
2014-12-01 14:23:30 +01:00
|
|
|
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = \TYPO3\CMS\Feedit\FrontendEditPanel::class;
|
2017-03-12 14:26:22 +01:00
|
|
|
|
|
|
|
if (TYPO3_MODE === 'FE') {
|
|
|
|
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)->connect(
|
|
|
|
\TYPO3\CMS\Backend\Controller\EditDocumentController::class,
|
|
|
|
'initAfter',
|
|
|
|
\TYPO3\CMS\Feedit\FrontendEditAssetLoader::class,
|
|
|
|
'attachAssets'
|
|
|
|
);
|
|
|
|
}
|