Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

ConfigSectionsPatch

Derek Jones edited this page · 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');

Something went wrong with that request. Please try again.