access config variable in codeigniter controller
// config.php
$config['foo'] = 'bar';
// controller
$this->config->item('foo');
Are there any code examples left?
New code examples in category PHP
// config.php
$config['foo'] = 'bar';
// controller
$this->config->item('foo');