autoload config with "second parameter" |
Hi,
is it possible to autoload a config file with a second parameter set to TRUE, like it is possible in the manual way : $this->config->load('blog_settings', TRUE); see http://www.codeigniter.com/userguide3/li...al-loading thanks !
Reading the user guide, you can
$this->config->load('blog_settings', TRUE); and you would then reference those config items using $site_name = $this->config->item('site_name', 'blog_settings');
(04-10-2015, 02:24 PM)ciadmin Wrote: Reading the user guide, you can thanks, but I'm talking about adding the config file in the autoload.php file. $autoload['config'] = array( '' ); I would like to write : $autoload['config'] = array( array('blog_settings', TRUE) ); but that doesn't work. Could be a good feature ? |
Welcome Guest, Not a member yet? Register Sign In |