ConfigSectionsPatch

Derek Jones edited this page Jul 5, 2012 · 9 revisions
Clone this wiki locally

Category:Core::Deprecated

Note: This patch has been removed in favour of using ConfigLoadPatch

Migrating

Instead of having different sections for one config file, the identical behaviour can be created by changing:

config/adodb.php:


$config['dsn'] = 'mysql://.....';

to:

config/adodb.php:


$config['adodb']['dsn'] = 'mysql://.....';

This item is still accessable as an array with $config->item('adodb');