app.yml settings are only accessible if you extends the sfBaseTask and call your task with --application arguments
On Wed, Feb 25, 2009 at 8:49 PM, Tom Boutell <[email protected]> wrote: > > I need to access app.yml settings in a task (not an action). How do I > load the application configuration so that sfConfig will look at the > application the user has indicated on the command line when I invoke > sfConfig::get('app_foo_bar')? > > Thanks! > > -- > Tom Boutell > > www.punkave.com > www.boutell.com > > > > -- Thomas Rabaix --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
