diff options
author | Jonas Meurer <jonas@freesources.org> | 2021-12-06 12:40:57 +0100 |
---|---|---|
committer | Jonas Meurer <jonas@freesources.org> | 2021-12-13 13:14:17 +0100 |
commit | 241dfef7fb07cb5908ef6bed0f584ebeb277f653 (patch) | |
tree | 36c05463bbf636a6d7c2017146d73bdb5b820862 /config | |
parent | e8ce7a3e5f0441623ec6d39873f20e8e70f38a37 (diff) | |
download | nextcloud-server-241dfef7fb07cb5908ef6bed0f584ebeb277f653.tar.gz nextcloud-server-241dfef7fb07cb5908ef6bed0f584ebeb277f653.zip |
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>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 4a28748b69c..8db16ca88be 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -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`` */ |