This is not what the yml files were made for. If you want such a
function, you'll need to store the dynamic values somewhere else, like
the DB.

On Tue, Jul 28, 2009 at 10:07, Ahmed<ghaliano2...@gmail.com> wrote:
>
> Hi,
> The goal is to give the user (admin) a way to edit some config value
> in the app.yml file
> ( like the number off line to display in a grid or  the delay of job
> expiration )
> Thanks
>
> On 27 juil, 18:00, Eno <symb...@gmail.com> wrote:
>> 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