[eluser]stevea[/eluser]
I'm looking at a controller that has:
1.
Code:
$this->config->load('uploader_settings', TRUE);
in the constructor. So we're adding the members of uploader_settings.php to the main config as a new array member.
Then in a function of the class we have:
2.
Code:
$conf['img_path'] = $this->config->item('img_path', 'uploader_settings');
It turns out that the 'img_path' item is not in 'uploader_settings.php but it is in the main config.php. From reading about the config class in the User Guide I wouldn't expect line 2 to fail back to the main config file when the 'img_path' item was not found in uploader_settings, which , it appears, must happen for this code to work.
Will it fail back to config?
Thanks.,
Steve