[TASK] ClickMenu: Set background via CSS instead of JS
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3skin / ext_localconf.php
index 57b5933..323ec6b 100644 (file)
@@ -2,10 +2,8 @@
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
-
-t3lib_extMgm::addPageTSConfig('
-       RTE.default.skin = EXT:'.$_EXTKEY.'/rtehtmlarea/htmlarea.css
-       RTE.default.FE.skin = EXT:'.$_EXTKEY.'/rtehtmlarea/htmlarea.css
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
+       RTE.default.skin = EXT:' . $_EXTKEY . '/rtehtmlarea/htmlarea.css
+       RTE.default.FE.skin = EXT:' . $_EXTKEY . '/rtehtmlarea/htmlarea.css
 ');
-
-?>
\ No newline at end of file
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['preStartPageHook']['TYPO3\\CMS\\T3skin\\Hook\\StyleGenerationHook'] = 'TYPO3\\CMS\\T3skin\\Hook\\StyleGenerationHook->preStartPageHook';
\ No newline at end of file