title: Codeigniter assets folder best practice
body: <p>I'm fairly new to codeigniter, But i'm learning well, I'm going to add a <strong>css, images, js, ...</strong> folder but I'm not sure where to put it</p>
  
  <p>Someone told me to make a 'public' folder </p>
  
  <pre><code>system
  application
  public
      css
      images
  </code></pre>
  
  <p>And then in your index.php ( in the public folder ) adjust accordingly</p>
  
  <p>$system_path = '../system';
  $application_path = '../application';</p>
  
  <p>But when I do that i get a 404 ( not the ci 404, but a really-not-found one )</p>
  
  <p>Anyone has any idea what I might be doing wrong? Thanks!</p>