Zend Framework is totally new for me, and I have problem with it. Probably it's easy to fix, but I can't find any solution in Google.
I can't figure out how to set correct path to public folder. Im using xampp as virtualhost, my current full path looks like this:
localhost/zf_project/public/controller/action
Now, when I'm using forms and links it moves me to localhost/controller/action, so currently I'm adding everywhere:
$front = Zend_Controller_Front::getInstance();
$form->setAction($front->getBaseUrl().'/controller/action');
Probably there is simplest way to set default path to public folder. I tried add in my .ini application file:
resources.frontController.baseurl = "/zf_project/public"