title: Fat Free Framework 3.0 and multiple files
body: <p>I finished a simple project with F3 (fat free framework) 2.0 and everything worked great. Now I'm starting a new project and I see it's been changed quite a bit. I've created a simple basic test and just keep hitting error's and weirdness. I'm no expert with F3 and yes I've read the documentation and yes of course I probably missed something. Hoping someone can help me. Here's my example that fails:</p>
  
  <p>Start with my config file</p>
  
  <h2>config.cfg</h2>
  
  <pre><code>cfgDbConnection="mysql:host=localhost;port=8889;dbname=test";
  cfgDbUser="root"
  cfgDbPassword="123456"
  cfgCache=true
  </code></pre>
  
  <p>//...etc</p>
  
  <p>The starting point</p>
  
  <h2>index.php</h2>
  
  <pre><code>$f3=require('lib/base.php');
  $f3-&gt;set('UI','ui/');
  $f3-&gt;set('AUTOLOAD', 'classes/'); // this folder contains class objects for the project
  
  $f3-&gt;config('config.cfg');
  $f3-&gt;set('CACHE', $f3-&gt;get('cfgCache'));
  $f3-&gt;set('DEBUG',3); 
  
  $db = new DB\SQL(
      $f3-&gt;get('cfgDbConnection'),
      $f3-&gt;get('cfgDbUser'),
      $f3-&gt;get('cfgDbPassword')
  );
  $f3-&gt;set('DB',$db);
  
  require_once("menuRoutes.php");
  $f3-&gt;run();
  </code></pre>
  
  <p>The first of 5 php files for routing </p>
  
  <h2>menuRoutes.php</h2>
  
  <pre><code>&lt;?php
  $f3-&gt;route('GET /', function() use ($f3){
      AuthManager::authenticateSession($f3); // checks if user is logged in /classes/AutManager.php 
      echo View::instance()-&gt;render('landing.htm');
  });
  </code></pre>
  
  <h2>landing.htm</h2>
  
  <pre><code>&lt;include href="mainHeaderBar.htm"/&gt; (this has css &amp; js loads)
  general html.......
  &lt;include href="mainFooterBar.htm"/&gt; (other jquery scripts)
  </code></pre>
  
  <p>At this point page loads the general html, CSS and JS scripts are not loading because the includes are not loading, they are being ignored.......?</p>
  
  <p>PHP Log shows:</p>
  
  <pre><code>HTTP 405 (HEAD /)
  /Users/home/Documents/My Projects/testApp/web/index.php:39 Base-&gt;run()
  ob_clean(): failed to delete buffer. No buffer to delete
  /Users/home/Documents/My Projects/testApp/web/lib/base.php:859 ob_clean()
  /Users/home/Documents/My Projects/testApp/web/lib/base.php:1118 Base-&gt;error(405)
  /Users/home/Documents/My Projects/testApp/web/index.php:39 Base-&gt;run()
  PHP Fatal error:  Uncaught exception 'ErrorException' with message 'ob_clean(): failed to delete buffer. No buffer to delete' in /Users/home/Documents/My Projects/testApp/web/lib/base.php:1391
  </code></pre>
  
  <p>Thanks for the help/advice.</p>