Fixed bug #9183: saveDocNew for all tables except the option is set to 0
[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 t3lib_extMgm::addUserTSConfig('
6 options.saveDocNew.pages = 0
7 options.saveDocNew.pages_language_overlay = 0
8 ');
9
10 $TYPO3_CONF_VARS['SYS']['contentTable'] = 'tt_content';
11 $TYPO3_CONF_VARS['FE']['eID_include']['tx_cms_showpic'] = 'EXT:cms/tslib/showpic.php';
12
13 $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['cms'] = array(
14 'title' => 'CMS Frontend',
15 'version' => 4000000,
16 'description' => '<ul>' .
17 '<li><p>Word separator character for simulateStaticDocument is changed from ' .
18 'underscore (_) to hyphen (-) to make URLs more friendly for search engines' .
19 'URLs that are already existing (e.g. external links to your site) will still work like before.</p>' .
20 '<p>You can set the separator character back to an underscore by putting the following line into the '.
21 '<b>Setup</b> section of your Page TypoScript template:</p>' .
22 '<p style="margin-top: 5px; white-space: nowrap;"><code>config.simulateStaticDocuments_replacementChar = _</code></p></li>'.
23 '<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>'.
24 '<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>'.
25 '</ul>',
26 );
27
28
29 // registering hooks for the treelist cache
30 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
31 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
32 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
33
34
35 ?>