Welcome Guest, Not a member yet? Register   Sign In
Autoloading Config Files
#1

[eluser]xtremer360[/eluser]
What I would like to do is when I load an item from a config file I created do it in this sort of manor.

Code:
$site_name = $this->config->item('site_name', 'blog_settings');

The documentation says this...

Quote:// Retrieve a config item named site_name contained within the blog_settings array
.

Am I able to do this if I'm autoloading the blog settings config file?




Theme © iAndrew 2016 - Forum software by © MyBB