how to use config variable in controller codeigniter 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');