Return to Snippet

Revision: 22782
at January 22, 2010 07:52 by cburyta


Initial Code
$sf_request->getUriPrefix().$sf_request->getRelativeUrlRoot().$sf_request->getPathInfoPrefix()

Initial URL

                                

Initial Description
This is how to use the $sf_request in a view to build the current base url, including the application file used to build the script.

Initial Title
Symfony 1.4 generate url for current app

Initial Tags
url

Initial Language
PHP