Well, ymls can be read and written easily with
sfYaml::load($path_to_file);
and written with
sfYaml::dump($yaml_array_of_data);

But I am looking after a way of storing all credential info in the db


Lee Bolding wrote:
> You could have easily done this if the sfYaml class had functions to WRITE
> yaml. This is something I've considered whilst looking at extending the
> sfSimpleBlog plugin - creating a YAML config file for each blog, rather than
> storing the config for each blog in a DB.
>
> Otherwise, you could maybe do something with embedding PHP inside of your
> generator.yml's
>
> -----Original Message-----
> From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Haris Zukanovic
> Sent: 11 December 2007 10:47
> To: symfony-users@googlegroups.com
> Subject: [symfony-users] Going away from credentials in generator.yml's
>
>
> I wish to go away from having credentials staticaly stored inside
> generator.yml's for each module.. This makes it difficult for me to
> update yml's while at the same time preserving credentials which are
> dynamicaly altered on production site.
> Has anyone done this ?
> Thanx for any suggestions on how to go about it...
>
>
> regards
>
>   

-- 
Haris Zukanovic
CEO
Software development and research
International Business Development, SOFTING ltd.
 

office  +387 36 318 339
GSM     +387 61 839 069
 
http://www.eu-softing.com




 
CONFIDENTIALITY NOTICE
This e-mail and any attached files, sent by a company e - mail system, contains 
company confidential and/or privileged information and is intended only for the 
person or entity to which it is addressed and only for the purposes therein set 
forth. If you are not the intended recipient (or have received this e-mail in 
error) please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure, distribution or other use of, or taking of 
any action in reliance upon, the material in this e-mail by persons or entities 
other than the intended recipient is strictly forbidden.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to