Le 19/01/2011 18:11, Victor Berchet a écrit :
Thanks for your feedback.
I have update my branch with a third commit
https://github.com/vicb/symfony/compare/vicb:master...vicb:router
This commit implements what I suggested at the end of my last email:
- making the automatic route reigstration optional,
- adding the ability to cutomize the prefix.
You can specify the options if your config file. i.e.
<webprofiler:config
toolbar="true"
intercept-redirects="true"
routes-register="true"
routes-prefix="_profiler"
/>
This should solve some the concerns (you can easily import an other
resource if you don't like the default one).
However I am still not convinced this (automatic registration) is a
very good idea... .
Victor.
The problem is that the parameters you use here are send to the bundle
Extension. So you cannot be sure the bundles will implement it this way.
They can also just force the import as this will be easier to implement
for them (no need to check for an end-user parameter).
So definitely -1 even with this change.
--
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en