We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
配置文件读取env配置无反应,配置的非本地,报错连接的是本地的
The text was updated successfully, but these errors were encountered:
可以看一下imi中env的使用方式:https://doc.imiphp.com/base/config.html
目前 imi 的 env 加载顺序在 config 之后,我考虑了一下确实不对,下个版本调整一下
Sorry, something went wrong.
看到文档了,但是那样的话就会写的很多啊,相当于是要一个一个的去设置这样重复的也不好复用
是的,调整加载顺序后就可以复用了
调整 .env 加载时机,在配置文件中支持使用 getenv()、imiGetEnv() 函数获取 #41
5420d93
@Denny-W 可以试试,现在可以了
No branches or pull requests
配置文件读取env配置无反应,配置的非本地,报错连接的是本地的
The text was updated successfully, but these errors were encountered: