From fc116f563fec20447e7300605d940cada975154c Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 25 Nov 2014 16:12:12 +0100 Subject: 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 --- config/config.sample.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config') 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 -- cgit v1.2.3