access config variable in codeigniter controller

Solutions on MaxInterview for access config variable in codeigniter controller by the best coders in the world

showing results for - "access config variable in codeigniter controller"
Helena
15 Apr 2019
1// config.php
2$config['foo'] = 'bar';
3
4// controller
5$this->config->item('foo');