Imports a configuration based on the CFConfig format.
configImport(path path, [, type] [, password], [, params], [, charset])
→ returns struct
falseserverwebserverfalsefalsefalseImports a configuration based on the CFConfig format from a file using a password stored in an environment variable.
configImport(
path: expandPath('/config/config.json'),
type: 'server',
password: SERVER.system.environment.PASSWORD
);
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.