Closed samdark closed 3 years ago
Version 1. Copy the additional configs to the subfolder /config/yii-debug/readonly
- these will be the original default configs. On composer update, we make a diff between the new default configs and the current configs from readonly folder. And then array_merge($diff, $edited_config)
Version 2. Before updating the packages, copy the current default configs somewhere in the runtime folder or save in memory. Then we do as in the first version.
In case package was updated and old config is already in the application, we need to: