Added Feature #8515: Speed up tslib_cObj->getTreeList by caching its results
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / ext_localconf.php
1 <?php
2 # TYPO3 SVN ID: $Id$
3 if (!defined ('TYPO3_MODE')) die ('Access denied.');
4
5 $TYPO3_CONF_VARS['SYS']['contentTable'] = 'tt_content';
6 $TYPO3_CONF_VARS['FE']['eID_include']['tx_cms_showpic'] = 'EXT:cms/tslib/showpic.php';
7
8 $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['cms'] = array(
9 'title' => 'CMS Frontend',
10 'version' => 4000000,
11 'description' => '<ul>' .
12 '<li><p>Word separator character for simulateStaticDocument is changed from ' .
13 'underscore (_) to hyphen (-) to make URLs more friendly for search engines' .
14 'URLs that are already existing (e.g. external links to your site) will still work like before.</p>' .
15 '<p>You can set the separator character back to an underscore by putting the following line into the '.
16 '<b>Setup</b> section of your Page TypoScript template:</p>' .
17 '<p style="margin-top: 5px; white-space: nowrap;"><code>config.simulateStaticDocuments_replacementChar = _</code></p></li>'.
18 '<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>'.
19 '<p>Technically, that means that the default value of "config.inlineStyle2TempFile" is now set to "1" and that of "config.removeDefaultJS" to "external"</p></li>'.
20 '</ul>',
21 );
22
23
24 // registering hooks for the treelist cache
25 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
26 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
27 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
28
29
30 ?>