title: Doctrine - BaseClassName Not found
body: <p>I'm trying to setup doctrine in my project and whenever I call on a class, e.g.</p>
  
  <pre><code>$dealer = Doctrine_Core::getTable( 'Dealers' ).find(1);
  </code></pre>
  
  <p>Then I get Fatal Error: Class BaseSchools not found.</p>
  
  <p>I know those files exist, since I did <code>Doctrine_Core::generateModelsFromDb</code> and I can see them</p>
  
  <p>Somehow my paths to my models/generated folder aren't being told to my Dealers class.</p>
  
  <p>In my bootstrap.php file I have:</p>
  
  <pre><code>Doctrine::loadModels( array( WWWROOT_PATH . 'models/generated', WWWROOT_PATH . 'models') );
  </code></pre>
  
  <p>I don't get any errors, if I change the path to the wrong path, it throws an error so I'm assuming that i'm doing it correctly.</p>
  
  <p>Anyway any thoughts would be appreciated.</p>