mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-10 05:00:06 +02:00
For any given preset, we need to be able to determine what we'd need to do in order to revert the preset. That means figuring out what the diff is between the current PHP setup and what the preset would change. We'll persist that to its own preset, which can be reapplied if needed. The "revertable" preset is persisted to the following file: ~/.config/phpmon/preset_revert.json If that file is present and valid, the app should enable the 'revert' option. (That still needs to be implemented.)