title: error "404 Page Not Found" in codeigniter
body: <p>I'm using Codeigniter.
  I have a class MY_Controller in '/core/MY_Controller.php'</p>
  
  <pre><code>class MY_Controller extends CI_Controller
  {
     function __construct()
      {
          parent::__construct();
          echo $controller = $this-&gt;uri-&gt;segment(1);
      }
  }
  </code></pre>
  
  <p>And class Login.php in \controllers\admin\Login.php</p>
  
  <pre><code>class Login extends MY_Controller{
     function index()
      {
          echo 'login';
      }
  }
  </code></pre>
  
  <p>When i get error 404 when access <a href="http://localhost/codeigniter/admin/login/" rel="nofollow">http://localhost/codeigniter/admin/login/</a> in browser.</p>
  
  <pre><code>404 Page Not Found
  
  The page you requested was not found.
  </code></pre>
  
  <p>Any ideas? What am I doing wrong? Thanks C.</p>