And to answer my own question after a bunch of poking around...
Do something like this:
sfConfig::set('sf_factory_controller', 'sfFrontWebController');
sfConfig::set('sf_factory_request', 'sfWebRequest');
sfConfig::set('sf_factory_response', 'sfWebResponse');
before sfContext::getInstance();
On Mar 13, 8:50 am, nurikabe <[email protected]> wrote:
> Is it possible to set factories outside of yaml, via a define() or
> sfConfig perhaps? I have one batch script that I would like to use
> the sfFrontWebController, sfWebRequest, sfWebResponse factories as
> opposed to the default Console factories.
>
> I'm still in Symfony 1.x.
>
> Thanks,
> Evan
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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