diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-25 16:12:12 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-25 16:26:47 +0100 |
commit | fc116f563fec20447e7300605d940cada975154c (patch) | |
tree | 0118df1fba46e54ecf821f84ba388e26ecae4e37 /config | |
parent | 553188273c24835b2f8e36e488208f486d674bfc (diff) | |
download | nextcloud-server-fc116f563fec20447e7300605d940cada975154c.tar.gz nextcloud-server-fc116f563fec20447e7300605d940cada975154c.zip |
Allow read-only configuration
Workaround required for IIS setups running ownCloud to prevent dataloss.
Long-term solution would be to move some configuration settings to the database
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index bf26172c494..b5e62d0366c 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -434,6 +434,15 @@ $CONFIG = array( */ 'check_for_working_htaccess' => true, +/** + * In certain environments it is desired to have a read-only config file. + * When this switch is set to ``true`` ownCloud 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 ownCloud + * it is required to make the config file writable again for the update + * process. + */ +'config_is_read_only' => false, /** * Logging |