[TYPO3-core] RFC: #7523: missing description in install_old / All Configuration
Steffen Kamper
steffen at sk-typo3.de
Tue Feb 26 12:37:52 CET 2008
"Benjamin Mack" <mack at xnos.org> schrieb im Newsbeitrag
news:mailman.3228.1204025663.5943.typo3-team-core at lists.netfielders.de...
> Hey,
>
> Steffen Kamper wrote:
>
>> because it's uppercase and array and installer thinks that a new section
>> starts.
> Why is this behaviour? Is this documented somewhere?
>
it's in class.tx_install.php function getDefaultConfigArrayComments
if (substr(strtolower(trim($reg[2])),0,5)=='array' &&
!strcmp($reg[1],strtoupper($reg[1]))) {
$mainKey=trim($reg[1]);
so $mainKey changes.
It's simply looks for
'GFX' = array( ...
'FE' = array ( ...
etc.
It is not very flexible and change of the logic should be done in new
installer, as this can be fixed by moving the only matching parameter
'XCLASS' to end of section.
vg Steffen
More information about the TYPO3-team-core
mailing list