forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 26
ConfigSectionsPatch
Derek Jones edited this page Jul 4, 2012
·
9 revisions
[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:
$config['dsn'] = 'mysql://.....';
to:
config/adodb.php:
$config['adodb']['dsn'] = 'mysql://.....';
This item is still accessable as an array with $config->item('adodb');