Skip to content
Discussion options

You must be logged in to vote

Thanks for the careful write-up, @teleotic — this is exactly the kind of report we like to get, and you've actually surfaced more than one thing. Short version: you're right to be uncomfortable, the two doc snippets are partly out of sync, and the more important issue is the scaffold itself. Here's what we found after tracing the code.

What's actually going on

Three independent things are tangled together here:

  1. The accessor — env(...) vs application.wo.env(...) is cosmetic. Both call the same helper (vendor/wheels/Global.cfc), which checks application.env (your .env) first, then OS environment variables, then your default. Inside config/settings.cfm the bare env() form works for the sam…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@teleotic
Comment options

Answer selected by teleotic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants