[coldbox-5.1.1] How to check environment in views

9 views
Skip to first unread message

Nick

unread,
Dec 15, 2020, 6:28:05 PM12/15/20
to ColdBox Platform
How do I check the environment in views?

Dave Ferguson

unread,
Dec 15, 2020, 7:01:56 PM12/15/20
to col...@googlegroups.com
<( ̄︶ ̄)>(✿^‿^)(θ‿θ)<( ̄︶ ̄)>(人*´∀`)。*゚+<












Mm mmmmmynr too. Tnnyhbtt. .
Ty..... ...b no
Hci,BS no mm be not my mom

Thanks,


--Dave
   To:-$(´ε` ) (´ε` ) (´ε` ) (。・ω・。)ノ♡(๑♡⌓♡๑)

On Tue, Dec 15, 2020, 3:28 PM Nick <ni...@devx.co.nz> wrote:
How do I check the environment in views?

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/aca784cf-b688-4d6b-83cb-87ae50492a59n%40googlegroups.com.

David Levin

unread,
Dec 15, 2020, 7:26:11 PM12/15/20
to ColdBox Platform
@Nick, try this:
#getSetting( 'environment' )#

That method comes from the FrameworkSupertype I believe.
Reply all
Reply to author
Forward
0 new messages