works for me

thx a lot!


On 13 Okt., 11:09, Stéphane <stephane.er...@gmail.com> wrote:
> You can check for isset($_SERVER['HTTP_HOST']) I guess,
>
> Cheers,
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Wed, Oct 13, 2010 at 11:08 AM, axel at <axel.zu...@gmail.com> wrote:
> > hello,
>
> > I need to distinguish if a model function was called within a web
> > request or run within a task (to avoid error thrown by
> > sfContext::getInstance() when executed within a taks)
>
> > thx for your help
>
> > --
> > 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 symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to