ConfigImport()
Imports server configuration defineď based on the CFConfig schema.
This configuration can be provided as a path (String) to a JSON based file or as a Struct
.
The values inside the provided configuration can use placeholders, following this pattern ${key:default}.
The function will check for the actual values for this placeholders in 3 places (in this order):
- Function arguments "params" (if provided)
- System properties
- Environment variables
Directory Placeholders will be passed thru and dynamically evaluated when used.
Introduced: 6.0.0.460
ConfigImport( path=any, type=string, password=string, params=struct, flushExistingData=boolean, charset=string );
Returns: Struct
Examples
There are currently no examples for this function 12,843ms WARN No examples for function configimportSee also
- Server
- Startup Listeners, server.cfc and web.cfc
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)