You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This page used the deprecated pre-v7 way to access system settings/properties/env from outside Coldbox core files.
I *assume* that within `Coldbox.cfc` and friends, using the 3 functions will be automatically resolved to the `Env` delegate, @lmajano ?
Copy file name to clipboardExpand all lines: getting-started/configuration/coldbox.cfc/system-settings-java-properties-and-environment-variables.md
+10-9
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,24 @@ If you are inside `config/ColdBox.cfc` or a `ModuleConfig.cfc` or a `config/Wire
14
14
15
15
## Accessing System Settings in `Application.cfc`
16
16
17
-
If you would like to access these methods in your `Application.cfc`, create an instance of `coldbox.system.core.util.Util` and access them off of that component. This is required when adding a datasource from environment variables.
17
+
If you would like to access these methods in your `Application.cfc`, create an instance of `coldbox.system.core.delegates.Env` and access them off of that component. This is required when adding a datasource from environment variables.
0 commit comments