title: Zend Framework -- Simple bootstrap edit causing application to fail
body: <p>I'm working through the Zend Framework 1.8 Web Development book, and I'm at the part that describes how you can edit the bootstrap.php to initialize a doctype for you.  However, when I insert the function, I get a server error when I navigate to my project.</p>
  
  <p>The application only breaks after I add the following code to my Bootstrap.php</p>
  
  <pre><code>&lt;?php
  
  class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
  {
  
      protected function _initViewSettings()
      {
          $this-&gt;bootstrap('view');
          $view = $this-&gt;getResource('view');
          $view-&gt;doctype('XHTML1_STRICT');
      }
  
  }
  </code></pre>