Re: [symfony-users] Detect the environment in the template

2011-02-11 Thread MichaƂ Piotrowski
Hi, 2011/2/11 Manu : > Is it possible to detect the environment in a template file ? ? > I would like to show a warning when the user is using the production > admin, and not when he's on the development one. > > -- > If you want to report a vulnerability issue on symfony, please send it to >

[symfony-users] Detect the environment in the template

2011-02-11 Thread Manu
Is it possible to detect the environment in a template file ? I would like to show a warning when the user is using the production admin, and not when he's on the development one. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You re