If you look at the code of sfConfig
(http://trac.symfony-project.org/browser/branches/1.4/lib/config/sfConfig.class.php),
there is no way to save the changed value to the yaml or elsewhere.

Also, if you change the app.yml config file in the prod env, you might
have to clear the cache each time you change a setting...


On Wed, Mar 17, 2010 at 9:58 AM, Romain Pouclet <pall...@gmail.com> 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