Hi
You can use an app.yml file located in config/app.yml in your project
directory.
It allows you to set variables for all your applications. You then
access them by sfConfig::get('app_my_key').
And you can override them with apps/your_app/config/app.yml file if
you want.
Eric
On Feb 3, 7:19 pm, fredlab <[email protected]> wrote:
> Hey,
>
> I created a plugin that include a task that call a function in a
> class.
>
> I would like to be able to get a variable that is set in a generic
> config file but not just for an application but for my all project.
>
> How could I do this ?
>
> Thanks for the answers.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---