codeigniter 4 get config variables 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');