title: Class 'BaseController' not found
body: <p>I am using PHP MVC CI. BaseController and LoginController are both inside Controller Folder. When I run the Login Controller.  It says..</p>
  
  <blockquote>
    <p>Class 'BaseController' not found</p>
  </blockquote>
  
  <p><strong>Login Controller</strong></p>
  
  <pre><code>&lt;?php
      if ( ! defined('BASEPATH')) die('No direct script access allowed');
  
      class loginController extends BaseController {
  
          function __construct() {
              parent::__construct();
          }
  
          public function login() {   
              $this-&gt;load-&gt;View("template/header");
              $this-&gt;load-&gt;View("login_view");
          }
      }
  ?&gt;
  </code></pre>
  
  <p><strong>Base Controller</strong></p>
  
  <pre><code>&lt;?php
      class BaseController extends CI_Controller {
  
          function __construct()
          {
              session_start();
              $this-&gt;load-&gt;library('session');
              parent::__construct();
          }
      }
  ?&gt;
  </code></pre>
  
  <p>Any idea why this is happening ?</p>