|
TYPO3 API
SVNRelease
|
00001 <?php 00002 00003 if (!defined ('TYPO3_MODE')) { 00004 die ('Access denied.'); 00005 } 00006 if(TYPO3_MODE == 'BE') { 00007 $workspaceSelectorToolbarItemClassPath = t3lib_extMgm::extPath('workspaces', 'Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php'); 00008 00009 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = $workspaceSelectorToolbarItemClassPath; 00010 00011 } 00012 // Register the autopublishing task 00013 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_Workspaces_Service_AutoPublishTask'] = array( 00014 'extension' => $_EXTKEY, 00015 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:autopublishTask.name', 00016 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:autopublishTask.description' 00017 ); 00018 00019 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['workspaces'] = 'EXT:workspaces/Classes/Service/Tcemain.php:tx_Workspaces_Service_Tcemain'; 00020 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClickClass']['workspaces'] = 'EXT:workspaces/Classes/Service/Tcemain.php:tx_Workspaces_Service_Befunc'; 00021 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe']['workspaces'] = 'EXT:workspaces/Classes/Service/Fehooks.php:tx_Workspaces_Service_Fehooks->hook_eofe'; 00022 00023 if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['useCachingFramework']) { 00024 // Initialize the caching framework. The caching framework is asking it self if it is initialized already before initializing. 00025 t3lib_cache::initializeCachingFramework(); 00026 00027 $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['backend'] = 't3lib_cache_backend_DbBackend'; 00028 $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['options'] = array( 00029 'cacheTable' => 'sys_workspace_cache', 00030 'tagsTable' => 'sys_workspace_cache_tags' 00031 ); 00032 } 00033 00034 t3lib_extMgm::addUserTSConfig('options.workspaces.considerReferences = 1'); 00035 00036 ?>
1.8.0