I personally use a config file that holds an attribute named webhost then i can access it view the Zend_Registery after setting it up in the bootstrap file.
On Thu, Mar 5, 2009 at 11:37 AM, Deepak <[email protected]> wrote: > > HI, > > > > In controller I can get the bastpath with [ $request->getBasePath() ] > > > > how can I get same in bootstrap? > > > > OR > > how to set the form's action in bootstrap with basepath? > > currently I am using this for localhost > > $searchForm->setAction("//localhost/search"); > > instead I wanted something like > > $searchForm->setAction("<BASE_URL>/search"); > > thanks > > -- > ======================= > Registered Linux User #460714 > Currently Using Fedora 8, 10 > ======================= > -- Vincent Gabriel. Lead Developer, Senior Support. Zend Certified Engineer.
