It's good to remember that CountryType, LanguageType and LocaleType uses the Locale component that loads the data from ICU files (Symfony/Component/Locale/Resources/data).
Also to note, it seems that the options defined for the csrf_protection in app/config/config.yml (standard distro, using Symfony2 master) are not used in the Form component (except 'secret'). The enabled and field_name keys does not have effect. Eriksen On Sun, Apr 24, 2011 at 7:35 PM, Bernhard Schussek <[email protected]>wrote: > 2011/4/24 ornicar <[email protected]>: > > I would not write > > $path = realpath(__DIR__.'/../../../../web/uploads'); > > > > in a model, for obvious reusability and maintainability reasons. > > The model can at most know the path relative to the document root or > uploads > > dir. > > But absolute file path calculation should be done in a configurable > service. > > You're absolutely right. I was trying to keep the example simple. > > Maybe we can write a generic Doctrine2 listener that takes care of the > above job. Volunteers? > > Bernhard > > -- > 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 > -- 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
