GetSystemPropOrEnvVar()
Return the list of supported system properties or env vars Lucee supports.
Lucee treats the following config as identical, but System Properties take precedence.
lucee.admin.enabled(Java System Property)LUCEE_ADMIN_ENABLED(Environment variables)
Introduced: 6.2.1.23
GetSystemPropOrEnvVar( property=string );
Returns: any
| Argument | Description |
|---|---|
|
property
string,
optional
|
Optional, when set, the value of the property as configured is returned |
Examples
// List all system properties
<cfdump var="#GetSystemPropOrEnvVar()#" />
// Return the configured value; otherwise, return empty
<cfdump var="#GetSystemPropOrEnvVar('lucee.cache.variableKeys')#" />
See also
- Lucee Server related Tags, Functions and Guides
- Environment Variables / System Properties for Lucee
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)