This may be a duplicate question but I'm new in codeigniter. My question is whenever I tried $this->load->view('anyhtmlpage.html') it never loads the required css and js files.
Condition: All files in view must contain pure HTML (no php).
The base url is: $config['base_url'] = 'http://localhost:8081/SVN_propertybooking/branches/dev/Admin/';
I also defined $route['default_controller'] = 'Admin'; in routes.php and $autoload['helper'] = array('form', 'url'); in autoload.php
And when I tried like this <link href="../assets/css/bootstrap.min.css" rel="stylesheet"> after $this->load->view('anyhtmlpage.html') it loads the css and js files.
But more amazing is when I write header('location:'.base_url()); it loads all css and js files.
So what is missing here, help please.
Folder structure:
