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