BugFix tx_ removed from linkBuilder
[TYPO3CMS/Extensions/typo3wiki.git] / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if(t3lib_extMgm::isLoaded('realurl')) require_once(t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Realurl/realurl_conf.php');
7
8 Tx_Extbase_Utility_Extension::configurePlugin(
9 $_EXTKEY,
10 'Typo3wiki',
11 array(
12 'Page' => 'index, show, unknownPage, edit, update',
13
14 ),
15 // non-cacheable actions
16 array(
17 'Page' => 'create, update',
18
19 )
20 );
21
22 if(t3lib_extMgm::isLoaded('google_services')) {
23 require_once(t3lib_extMgm::extPath('google_services', 'Classes/Service/SitemapProvider.php'));
24 Tx_GoogleServices_Service_SitemapProvider::addProvider(t3lib_extMgm::extPath('typo3wiki', 'Classes/Service/GoogleSitemapService.php'), 'Tx_Typo3wiki_Service_GoogleSitemapService');
25 }
26
27 /**
28 * Enabling Caching Button in Backend
29 *
30 */
31 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions'][] = 'EXT:' . $_EXTKEY . '/class.tx_typo3wiki_cachemenu.php:&tx_typo3wiki_cachemenu';
32 $TYPO3_CONF_VARS['BE']['AJAX']['tx_typo3wiki::clear'] = 'EXT:' . $_EXTKEY . '/class.tx_typo3wiki_cache.php:tx_typo3wiki_cache->clear';