site-command icon indicating copy to clipboard operation
site-command copied to clipboard

Add warning when files can be regenerated

Open kirtangajjar opened this issue 6 years ago • 1 comments
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.

kirtangajjar avatar Dec 17 '18 12:12 kirtangajjar

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.

mrrobot47 avatar Dec 24 '18 06:12 mrrobot47