On Dec 30, 12:35 pm, Fabien Potencier <fabien.potenc...@symfony- project.com> wrote: > On 12/30/10 10:21 AM, Benjamin Eberlei wrote: > > > ok it seems this is a feature. Other extensions and the DoctrineExtension > > itself do try to handle multiple calls. > > Right, this is indeed a feature. Default usage: define the "default" > configuration in one file (config.yml), and override in another one > (config_dev.yml) -- useful for instance if you want to change the > database password depending on the environement. > > Fabien >
Would it be possible that the different configuration files are merged (respecting the order of the import: a definition in the file overrides a definition in an imported file) before calling the extensions to handle the configuration ? This would also allow to override the database password but it will call the extensions only once with the merged configuration. -- 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
