Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJonas Meurer <jonas@freesources.org>2021-12-06 14:40:57 +0300
committerJonas Meurer <jonas@freesources.org>2021-12-13 15:14:17 +0300
commit241dfef7fb07cb5908ef6bed0f584ebeb277f653 (patch)
tree36c05463bbf636a6d7c2017146d73bdb5b820862 /config
parente8ce7a3e5f0441623ec6d39873f20e8e70f38a37 (diff)
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.php10
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``
*/