On Mon, 27 Jul 2009, Ahmed wrote:

> Hi all, i need to change a config value in the app.yml file
> i use this :
> sfConfig::set('app_max_news_permited', $request->getParameter('config
> [max_news_permited]'))
> but it change the value in the runtime configuration not in the file
> it self

That's right - that's what its supposed to do.

if the settings never change, then edit the file and set the value.

If it changes then use sfConfig::set().



-- 



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