summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-03 10:55:52 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-03 16:53:03 +0100
commite73ccbd4cade0622615ee133496a571ac1d6dba7 (patch)
tree114c981b1ae7ae1e050dbfe74c1333b238a2b178 /settings/admin.php
parentf8f38b06dfef0af2555124cf0d1ec55402aa8c8c (diff)
downloadnextcloud-server-e73ccbd4cade0622615ee133496a571ac1d6dba7.tar.gz
nextcloud-server-e73ccbd4cade0622615ee133496a571ac1d6dba7.zip
Migrate "setsecurity.php" to the AppFramework
Add switch to enforce SSL for subdomains Add unit tests Add test for boolean values Camel-case Fix ugly JS
Diffstat (limited to 'settings/admin.php')
-rw-r--r--settings/admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php
index d58b9a597b9..1c1cbd9975f 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -53,7 +53,8 @@ $template->assign('shareExcludedGroupsList', implode('|', $excludedGroupsList));
// Check if connected using HTTPS
$template->assign('isConnectedViaHTTPS', OC_Request::serverProtocol() === 'https');
-$template->assign('enforceHTTPSEnabled', $config->getSystemValue("forcessl", false));
+$template->assign('enforceHTTPSEnabled', $config->getSystemValue('forcessl', false));
+$template->assign('forceSSLforSubdomainsEnabled', $config->getSystemValue('forceSSLforSubdomains', false));
// If the current web root is non-empty but the web root from the config is,
// and system cron is used, the URL generator fails to build valid URLs.