Documentation about env var substitution in Bolt config is not correct
- Dominant language
- PHP
- Stars
- 45
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
As far as I can see https://docs.boltcms.io/5.0/configuration/introduction#dynamic-values-for-config-settings suggests non-existing functionality -- I've seen 2 questions about it on slack recently.
I'd suggest at least removing the part that speaks about usage in pages via twig from the docs, and maybe even the whole paragraph.
As far as I can see (by looking at [Kernel.php](https://github.com/bolt/core/blob/0a3d391cf95730879ba46e645e1c24b26bc5a1ea/src/Kernel.php#L103)) it _might_ be possible to access a setting defined in config.yml from inside the symfony container using `bolt.` if you are using `$container->getParamter()`, but the use of $config in code or twig is the Bolt config, and that one doesn't support env var substitution.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.