title: How to separate public and admin modules in Codeigniter?
body: <p>I'm building an app with <code>CI_v3</code>. I need to separate admin and public interfaces on the same CI package.</p>
  
  <p>Where:
  public URL: <code>http://example.com/controller/method</code>
  admin URL: <code>http://example.com/admin/controller/method</code></p>
  
  <p>I've searched a lot and found many solutions but not a fully explained one.
  How can I do this?</p>