Closed austenmc closed 8 years ago
lgtm. We maybe want to move away from ENV completely and make the configuration file path defineable (at least as an alternative) in the bootstrap directly. Currently this is what I'm doing manually in crate-www since env variables will not load (at least not on my system). This would give us the ability to store daenerys config together with symfony config (if we'd like to?).
I was thinking of defining a default config path to address this issue, but yeah let's keep thinking about it and evolving it.
What do you mean environment variables arent working?
Defining a default config path inside of the core is difficult since that would be relative to the vendor root, not the crate root.
Could be a windows issue, values from .env are not loading. That's why I'm reading the file and storing everything via putenv into the environments.
This is just easier than an environment-based one. We'll see how it goes...