Skip to content

ConfigSectionsPatch

World Wide Web Server edited this page Jul 4, 2012 · 9 revisions

Category:Core::Deprecated

[b]Note:[/b] This patch has been removed in favour of using ConfigLoadPatch

[h3]Migrating[/h3]

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

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

to:

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

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

Clone this wiki locally