forked from digedag/rn_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
26 lines (17 loc) · 835 Bytes
/
ext_localconf.php
File metadata and controls
26 lines (17 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
$rnbaseExtPath = t3lib_extMgm::extPath('rn_base');
require_once($rnbaseExtPath . 'class.tx_rnbase.php');
tx_rnbase::load('tx_rnbase_util_Debug');
tx_rnbase::load('tx_rnbase_configurations');
if(!is_array($TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['rnbase']) &&
tx_rnbase_configurations::getExtensionCfgValue('rn_base', 'activateCache') ) {
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['rnbase'] = array(
'backend' => 't3lib_cache_backend_FileBackend',
'options' => array(
)
);
}
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rn_base']['loadHiddenObjects'] = intval(tx_rnbase_configurations::getExtensionCfgValue('rn_base', 'loadHiddenObjects'));
// Include the mediaplayer service
require_once($rnbaseExtPath.'sv1/ext_localconf.php');