title: Zend Framework $this->baseUrl() always returns the current page :( why
body: <p>check out this website www.fltdata.com. For some reason the home link no matter what page you go on instead of pointing to the home page it points to the current page. It works fine on my localhost but online its behaving like this. The href value of the home link is just : $this->baseUrl()</p>
  
  <p>Whats wrong here..</p>
  
  <p>=== EDIT===</p>
  
  <p>Well I have created a helper which is as below:</p>
  
  <pre><code>class Zend_View_Helper_BaseUrl
  {
      protected $_baseUrl;
  
      function __construct()
      {
          $fc = Zend_Controller_Front::getInstance();
          $this-&gt;_baseUrl =  $fc-&gt;getBaseUrl();
      }
  
      function baseUrl()
      {
          return $this-&gt;_baseUrl;
      }
  }
  </code></pre>
  
  <p>ANd this is I guess whats being called whenever I call $this->baseUrl. Could this be the problem - however it works okay in my localhost and not online so - must be some kind of configuration issue - where should I look?</p>