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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.