I have a config_javascript.php file that has the array of all the javascript file paths to be included in the header:
$config['js_files'] = array
(
'car' => array
(
'interior' => array
(
'js/interior.js' ,
'js/table_pagination.js',
'js/libs'
),
'exterior' => array
(
'js/exterior.js' ,
'js/table_pagination.js',
'js/libs'
),
)
then in the controller I am loading this config file and trying and trying to access the array but it doesn't seem to like it:
$this->config->load('config_javascript', true);
$js_files = $this->config->item('js_files','interior');
when I var_dump the array it's producing the bool(false);
Can someone please help?