Pretty often I need to access $config variables in views. I know I can pass them from controller to load->view(). But it seems excessive to do i
$config
load->view()
$this->config->item('config_var') did not work for my case.
$this->config->item('config_var')
I could only use the config_item('config_var'); to echo variables in the view
config_item('config_var');