is there a key reference for CFConfig? i'd like to...
# cfml-general
j
is there a key reference for CFConfig? i'd like to know if there's a more efficient way of figuring out the mappings between cfconfig.json and the lucee admin. currently, my process is indirect: make changes to the admin, export to json, diff, repeat.
j
thanks, @cfsimplicity
is there a place where i can see the defaults that cfconfig uses for a given engine?
j
@jamiejackson CFConfig does not provide any defaults. If the key isn’t provided in the
.cfconfig.json
file, the engine defaults are used - and nothing is changed within the engine exisiting settings
j
side question: that's not true of lucee 6, tho, correct? i had a conversation with @bdw429s recently and i thought lucee 6 had to be spoonfed its own defaults when importing to the new lucee json format.
b
That is half true. When importing a file, we won't import anything you don't ask for. That said, when you import into a directory/server that doesn't exist yet (which happens on a first-start scenario), then there is an actual default config template we use
j
b
For a web context, yes
We maybe need to have a different template in CFConfig for the web and server JSON files if Lucee treats them differently
Lucee 6 by default is in single context mode so I don't think I had tested it much with a web context
j
i'm converting from xml templates to cfconfig in 5 as a preliminary step to going to lucee 6. once in 6, i plan to go to single context mode anyway.