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
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,12 @@ The repository contains examples of following cases and more:
94
94
*[Composer aliases for easy running of tests and quality tools](https://github.com/OXID-eSales/examples-module/blob/b-7.3.x/composer.json#L48)
95
95
*[Using the github actions as CI tool with all recommended tools preconfigured for you.](https://github.com/OXID-eSales/examples-module/tree/b-7.3.x/.github)
96
96
97
+
*[Using variables from .env file](https://github.com/OXID-eSales/examples-module/tree/b-7.3.x/.env)
98
+
*[Access via `getenv()` function](https://github.com/OXID-eSales/examples-module/tree/b-7.3.x/src/Extension/Controller/StartController.php)
99
+
* Note: Changes to environment variables take effect immediately — no cache clearing is required.
100
+
*[Access via DI container](https://github.com/OXID-eSales/examples-module/tree/b-7.3.x/src/Greeting/services.yaml)
101
+
* Note: After updating environment variables, you must clear the cache for changes to take effect.
102
+
97
103
**HINTS**:
98
104
* Only extend the shop core if there is no other way like listen and handle shop events,
0 commit comments