forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 0
ConfigSectionsPatch
World Wide Web Server 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: [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');