Welcome Guest, Not a member yet? Register   Sign In
autoload config with "second parameter"
#3

(04-10-2015, 02:24 PM)ciadmin Wrote: 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');

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 ?
Reply


Messages In This Thread
RE: autoload config with "second parameter" - by djsuperfive - 04-10-2015, 11:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB