> 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
=======================

Reply via email to