|
TYPO3 API
SVNRelease
|
00001 <?php 00002 if (!defined ('TYPO3_MODE')) die ('Access denied.'); 00003 00004 require_once(t3lib_extMgm::extPath('extbase') . 'Classes/Dispatcher.php'); 00005 require_once(t3lib_extMgm::extPath('extbase') . 'Classes/Utility/Extension.php'); 00006 00007 // use own cache tables 00008 // Reflection cache: 00009 $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_reflection'] = array( 00010 'frontend' => 't3lib_cache_frontend_VariableFrontend', 00011 'backend' => 't3lib_cache_backend_DbBackend', 00012 'options' => array( 00013 'cacheTable' => 'tx_extbase_cache_reflection', 00014 'tagsTable' => 'tx_extbase_cache_reflection_tags', 00015 ), 00016 ); 00017 // Object container cache: 00018 $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_object'] = array( 00019 'frontend' => 't3lib_cache_frontend_VariableFrontend', 00020 'backend' => 't3lib_cache_backend_DbBackend', 00021 'options' => array( 00022 'cacheTable' => 'tx_extbase_cache_object', 00023 'tagsTable' => 'tx_extbase_cache_object_tags', 00024 ), 00025 ); 00026 00027 // We need to set the default implementation for the Storage Backend 00028 // the code below is NO PUBLIC API! It's just to make sure that 00029 // Extbase works correctly in the backend if the page tree is empty or no 00030 // template is defined. 00031 $extbaseObjectContainer = t3lib_div::makeInstance('Tx_Extbase_Object_Container_Container'); // Singleton 00032 $extbaseObjectContainer->registerImplementation('Tx_Extbase_Persistence_Storage_BackendInterface', 'Tx_Extbase_Persistence_Storage_Typo3DbBackend'); 00033 unset($extbaseObjectContainer); 00034 00035 # $GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:extbase/Classes/Persistence/Hook/TCEMainValueObjectUpdater.php:tx_Extbase_Persistence_Hook_TCEMainValueObjectUpdater'; 00036 ?>
1.8.0