-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
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
[Feature Request] Add systemName config option #3529
Comments
Do you have a use case for it, especially where it would make sense to customize it on a per-environment basis? If you just want to be able to edit it in code, that is already possible in 3.1 by editing the |
It's mostly, like you said, to be able to edit it in code, and not so much because it would change per environment (although I can see a use case where someone would want to append |
Cool :) |
@brandonkelly I also wanted this so I can flag if the system is Local / Dev / Prod in the siteName. Also we have a boilerplate and we control a lot of settings / labels from the .env file. |
@leevigraham sounds like a good use case for https://github.com/TopShelfCraft/Environment-Label |
@leevigraham Next release will allow you to set your System Name setting to an environment variable. |
👍🏻 Looks like the way Craft is moving is that env variables are going to be used in fields in the admin rather than config overrides? |
Yep, config overrides make less sense now that things are stored and shared in |
Only argument I could make would be for plugin settings in a multi-environment config, and there only because I'd hate to see my |
There's already
isSystemOn
andtimezone
so I think it would make sense to addsystemName
.The text was updated successfully, but these errors were encountered: