title: How to access URL parameters in bootstrap
body: <p>I'm trying to capture a URL parameter in my bootstrap file but after several attempts I'm not able to do it.</p>
  
  <p>I've tried this but it does not work:</p>
  
  <pre><code>protected function _initGetLang() {
    $frontController = Zend_Controller_Front::getInstance();
    $lang= $frontController-&gt;getParam('lang');
  }
  </code></pre>
  
  <p>Is this the right way to do it?</p>
  
  <p>Thks.</p>