Ian,

define('SF_ENVIRONMENT', 'dev');  <- this is in your batch isn't it ?

Pascal

On 28 juin, 12:36, "Ian P. Christian" <[EMAIL PROTECTED]> wrote:
> I've created a new Batch script, and it looks like this:
>
> define('SF_ROOT_DIR',    realpath(dirname(__file__).'/..'));
> define('SF_APP',         'frontend');
> define('SF_ENVIRONMENT', 'dev');
> define('SF_DEBUG',       1);
>
> require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
>
> $r = sfContext::getInstance()->getRequest();
>
> echo get_class($r);
>
> The output, is 'sfWebRequest'! Surely that's wrong?
>
> --
> Ian P. Christian ~http://pookey.co.uk
>
>  signature.asc
> 1KTélécharger


--~--~---------~--~----~------------~-------~--~----~
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