mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
Don't write to config file if config_is_read_only is set
Also don't write to cache in this case to prevent cache and config file being out of sync. Fixes: #29901 Signed-off-by: Jonas Meurer <jonas@freesources.org>
This commit is contained in:
@@ -809,11 +809,11 @@ $CONFIG = [
|
||||
|
||||
/**
|
||||
* In certain environments it is desired to have a read-only configuration file.
|
||||
* When this switch is set to ``true`` Nextcloud will not verify whether the
|
||||
* configuration is writable. However, it will not be possible to configure
|
||||
* all options via the Web interface. Furthermore, when updating Nextcloud
|
||||
* it is required to make the configuration file writable again for the update
|
||||
* process.
|
||||
* When this switch is set to ``true``, writing to the config file will be
|
||||
* forbidden. Therefore, it will not be possible to configure all options via
|
||||
* the Web interface. Furthermore, when updating Nextcloud it is required to
|
||||
* make the configuration file writable again and to set this switch to ``false``
|
||||
* for the update process.
|
||||
*
|
||||
* Defaults to ``false``
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user