Re: [symfony-users] Loading factories.yml configuration from task

2010-08-24 Thread Stéphane
What this means is that you need to add an (optional) argument (with default value) to your task, named application. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Aug 24, 2010 at 6:16 PM, Thomas Rabaix

Re: [symfony-users] Loading factories.yml configuration from task

2010-08-24 Thread Thomas Rabaix
factories configuration is linked to an application configuration object via sfContext object. Tasks are standalone objects. However there is a hack : read the getMailer() documentation from sfCommandApplicationTask class : * Returns a mailer instance. * * Notice that your task should ac

[symfony-users] Loading factories.yml configuration from task

2010-08-24 Thread Martin Chatterton
Hi, I'm using symfony 1.4.6 and I have the following configuration set in my factories.yml file... # all: mailer: param: transport: class: Swift_SendmailTransport param: command: /usr/sbin/sendmail -oi -t # ...to overcome the 'double dot' issue as des