or to "include" the "cache\{app}\prod\config\sfconfig_file.yml.php" you
need.

another choice is to define into task function the defines present into
{yourapp.php}
i have used the first choice and it works ... Though... i have made a custom
config file (see alPPGPlugin )
Alecs

On Tue, Feb 3, 2009 at 8:35 PM, Thomas Rabaix <[email protected]>wrote:

> You have to add the param 'application' into your command line, and of your
> task should extends the sfBaseTask ( I think).
>
>
> On Tue, Feb 3, 2009 at 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.
>>
>>
>
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to