title: codeigniter css and js files path
body: <p>i'm developing a web application with php codeigniter. in views folder, i created header.php that contains css and js and etc files and footer.php for footer of pages.
  in default controller, when i use <code>$this-&gt;load-&gt;view('header')</code>, it's Ok. but when i use this command in other pages, css files can not load. in inspect element i've got errors that says in css file path, codeigniter added <code>index.php/ctrl_name</code> to this address.</p>
  
  <p>this is path of my css file:</p>
  
  <pre><code>http://localhost:9000/CRM/index.php/home/assets/css/materialize.min.css
  </code></pre>