I've also been playing with overriding sfConfig settings from an admin
panel. Depending on how early you need these settings to apply, this
is not really a difficult issue. In my case I listen for the even that
tells me that factories are loaded, and "inject" my custom settings
there. You have to wait for the database to be available, that's the
only limitation.

Daniel


On Mar 17, 3:05 am, Daniel Lohse <annismcken...@googlemail.com> wrote:
> Take a look at the 
> csSettingsPlugin:http://www.symfony-project.org/plugins/csSettingsPlugin
>
> Regards, Daniel
>
> On 17.03.2010, at 09:58, Romain Pouclet wrote:
>
> > Hi all,
>
> > I'd like the "webmaster" of my application to be able to set the value of 
> > some config parameters, typically "comments_moderation : true / false".
> > It would be awesome if I could use it throught sfConfig class, anyway of 
> > doing that? I was about to create a "parameters" database, but I'd like to 
> > be sure it's the right way to do this :)
>
> > Thanks !
>
> > Romain
>
> > --
> > 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

-- 
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

Reply via email to