variable $config codeigniter 2 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');