On Mon, 21 Feb 2011 11:37:29 +0100, Jordi Boggiano <j.boggi...@seld.be> wrote: > On 21.02.2011 10:43, stof wrote: >> If you use Assetic you will also have to give the path to the web folder >> in the assetic config. > > This makes me think that it should maybe be a kernel parameter. Defined > in AppKernel, or from the app.php. > > That way it could be reused by assetic and other places, and wouldn't be > required in assets:install. > > Cheers >
I think it should be done on the front controller as it would be easy to use __DIR__ in it. Doing it in the kernel will remove the possibility to change it easily. The issue is that it is not available for the CLI tools. The third solution is to do define it in the framework configuration block which would make it available in CLI too and will make it easier to change it when deploying than having to change tje Kernel. -- Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en