codeigniter load config variables from database code example
Example: access config variable in codeigniter controller
// config.php
$config['foo'] = 'bar';
// controller
$this->config->item('foo');
// config.php
$config['foo'] = 'bar';
// controller
$this->config->item('foo');