-
Notifications
You must be signed in to change notification settings - Fork 16
/
ext_localconf.php
25 lines (20 loc) · 1.08 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') || defined('TYPO3_MODE'))) {
exit('Access denied.');
}
// Necessary for non composer installs
require Sys25\RnBase\Utility\Extensions::extPath('rn_base').'Classes/Constants.php';
if (!class_exists('tx_rnbase')) {
require Sys25\RnBase\Utility\Extensions::extPath('rn_base').'Classes/class.tx_rnbase.php';
}
if (empty($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['rnbase'])
&& Sys25\RnBase\Configuration\Processor::getExtensionCfgValue('rn_base', 'activateCache')) {
Sys25\RnBase\Cache\CacheManager::registerCache(
'rnbase',
Sys25\RnBase\Cache\CacheManager::CACHE_FRONTEND_VARIABLE,
Sys25\RnBase\Cache\CacheManager::CACHE_BACKEND_FILE
);
}
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rn_base']['loadHiddenObjects'] = (int) Sys25\RnBase\Configuration\Processor::getExtensionCfgValue('rn_base', 'loadHiddenObjects');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']['rn_base'] =
Sys25\RnBase\Hook\DataHandler::class.'->clearCacheForConfiguredTagsByTable';