[symfony-users] How to read databases.yml propely by sfConfig::get()

2010-03-16 Thread Dong YANG
Hi everyone, I want to get some infos of the file '*config/databases.yml*' from another file (action file for example). I tried the function sfConfig::get() but I failed to find the correct syntaxe, because there are only three prefix for getting config file by default (app_, sf_ and

Re: [symfony-users] How to read databases.yml propely by sfConfig::get()

2010-03-16 Thread Alvaro Videla
Try using the API of the sfDatabaseManager class On Mar 16, 2010, at 10:11 PM, Dong YANG wrote: Hi everyone, I want to get some infos of the file 'config/databases.yml' from another file (action file for example). I tried the function sfConfig::get() but I failed to find the