server/lib/private/legacy
Lukas Reschke 68cf6681e5 Add flock to config
This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070

Testplan:

- [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable
- [ ] Installation still works
- [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu)
- [ ] Your PC didn't blow up
- [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation

Only skip the main config

Otherwise read only additional configs might not be processed

Test on tmpdir
2014-09-30 15:53:27 +02:00
..
search add missing @deprecated annotation to legacy classes 2014-08-14 22:18:12 +02:00
appconfig.php add missing @deprecated annotation to legacy classes 2014-08-14 22:18:12 +02:00
config.php Add flock to config 2014-09-30 15:53:27 +02:00
log.php add missing @deprecated annotation to legacy classes 2014-08-14 22:18:12 +02:00
preferences.php add missing @deprecated annotation to legacy classes 2014-08-14 22:18:12 +02:00
search.php add missing @deprecated annotation to legacy classes 2014-08-14 22:18:12 +02:00
updater.php add missing @deprecated annotation to legacy classes 2014-08-14 22:18:12 +02:00