aboutsummaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-25 16:12:12 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-25 16:26:47 +0100
commitfc116f563fec20447e7300605d940cada975154c (patch)
tree0118df1fba46e54ecf821f84ba388e26ecae4e37 /settings/admin.php
parent553188273c24835b2f8e36e488208f486d674bfc (diff)
downloadnextcloud-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 'settings/admin.php')
-rw-r--r--settings/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index a669974891c..50a4ac4f1c8 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -33,6 +33,7 @@ $template->assign('mail_smtppassword', $config->getSystemValue("mail_smtppasswor
$template->assign('entries', $entries);
$template->assign('entriesremain', $entriesRemaining);
$template->assign('htaccessworking', $htAccessWorking);
+$template->assign('readOnlyConfigEnabled', OC_Helper::isReadOnlyConfigEnabled());
$template->assign('isLocaleWorking', OC_Util::isSetLocaleWorking());
$template->assign('isPhpCharSetUtf8', OC_Util::isPhpCharSetUtf8());
$template->assign('isAnnotationsWorking', OC_Util::isAnnotationsWorking());