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 is how I did it. In config.php
$config['HTML_TITLE'] = "SO TITLE test";
In applications/view/header.php (assuming html code)
=$this->config->item("HTML_TITLE");?>