Voimilbolla
New Member
I've been trying to load a configuration item into another configuration file for my CodeIgniter app.The reason for doing this is that I don't want to go through all of the files to change same parameters when I, for example, change the server or want to change the site title.I've tried to get the items I need from the main \[code\]config.php\[/code\] file by using \[code\]$this->config['site_title']\[/code\], by loading the config file using \[code\]$this->config->load('config')\[/code\] and by loading individual config item using \[code\]$this->config->item('site_title')\[/code\] but all of these methods return errors that the configuration items could not be loaded.Am I missing something?