hmm, interesting. I am not near a development computer.to check..does
_getConfig().setmode() exist to programaticaly set the mode?

On 9/18/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
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