site-command
site-command copied to clipboard
Add warning when files can be regenerated
trafficstars
EE4 has files which can be regenerated. Example include:
- [ ] nginx-proxy's
default.conf - [x] Site nginx's
main.conf - [x]
php.ini
Each of such files should have a warning on top like ee3 had which would prevent accidental edits.
PHP config changes have been reverted post merging. As the name was custom.ini, users may have thought that this was the ini that could be customized as per need. Thus, regenerating this could lead to issues.
Hence, EasyEngine can keep on generating this custom.ini for all new sites. If there is any need or update required. A new ini file named easyengine.ini can be introduced which will have the config loss warning and new changes.