Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
that is how it's documented - you shouldn't use
.env in prod... searching the link
But you can always set the environment variables in the server config
I've heard that a lot, but never seen any actual proper evidence to support it 🙂
By the way I was also reading something about
.env the other day. Appearently its quite heavy/slow for the server to read .env and pass it to PHP. This is why Laravel for example, generates a bunch of .php files in production mode, instead of reading from .env.
Does SilverStripe4 do anything like this?
and you're not having to try and bypass the configuration stuff
That way you still have the data in the env
Yeah I guess that would be ok
You mean by doing something like