-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
25 lines (22 loc) · 1.13 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
if (TYPO3_MODE == 'FE') {
// Register page renderer hook.
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess']['adx_less'] = 'EXT:adx_less/Classes/Hooks/PageRenderer.php:&Tx_AdxLess_Hooks_PageRenderer->preProcess';
}
if (version_compare(TYPO3_branch, '6.0', '<')) {
// add XCLASS to RTE rtehtmlarea
$GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/class.tx_rtehtmlarea_base.php'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/XClass/class.ux_tx_rtehtmlarea_base.php';
// add XCLASS to RTE tinymce_rte
$GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/tinymce_rte/class.tx_tinymce_rte_base.php'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/XClass/class.ux_tx_tinymce_rte_base.php';
} else {
// add XCLASS to RTE rtehtmlarea
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['tx_rtehtmlarea_base'] = array(
'className' => 'ux_tx_rtehtmlarea_base',
);
// add XCLASS to RTE tinymce_rte
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['tx_tinymce_rte_base'] = array(
'className' => 'ux_tx_tinymce_rte_base',
);
}
?>