Thanks for the tip Sean.

Just out of interest, what's the logic behind the _getConfig() being a
private method? Are there security issues with making it public, or is it
just best practice?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Sean Corfield
> Sent: 18 September 2006 21:59
> To: [email protected]
> Subject: Re: [Reactor for CF] get mode of reactor
> 
> On 9/18/06, Gareth Cole <[EMAIL PROTECTED]> wrote:
> > Is it possible to programmatically determine whether reactor is in
> > production or development mode?
> 
> Yes. Inside any code that extends Reactor classes, you can call
> _getConfig().getMode() which will return "development" or
> "production".
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> 
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Reactor for ColdFusion Mailing List
> [email protected]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to