[TYPO3-core] RFC #16215: Allow array as localconf.php configuration values
Xavier Perseguers
typo3 at perseguers.ch
Sun Nov 14 12:00:53 CET 2010
Hi,
Susanne Moog wrote:
> The install tool "all configuration" section has the neat possibility to
> display even custom options configured in localconf.php
> For example add:
> $TYPO3_CONF_VARS['EXTCONF']['dbal'] = 'test';
>
> and you'll get a text input field.
>
> If I now add additionally to that line
> // Modified or inserted by TYPO3 Install Tool.
> $TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array(
> '_DEFAULT' => array(
> 'type' => 'adodb',
> 'config' => array(
> 'driver' => 'oci8',
> 'driverOptions' => array(
> 'connectSID' => TRUE,
> )
> )
> )
> );
>
> there are two problems:
> 1) the array is not editable by the all configuration section (this
> could be an extra bug/feature)
> 2) adding the array causes the install tool to change the first line to:
> $TYPO3_CONF_VARS['EXTCONF']['dbal'] = 'Aest'; (changes the "t" to an
> "A") in the install tool and saves the wrong value on enter - which is a
> real bug I think.
I created a related bug for both of those cases:
http://bugs.typo3.org/view.php?id=16379 in order for us to keep track of it.
Thanks
Xavier
More information about the TYPO3-team-core
mailing list