diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-03 10:55:52 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-03 16:53:03 +0100 |
commit | e73ccbd4cade0622615ee133496a571ac1d6dba7 (patch) | |
tree | 114c981b1ae7ae1e050dbfe74c1333b238a2b178 /settings/admin.php | |
parent | f8f38b06dfef0af2555124cf0d1ec55402aa8c8c (diff) | |
download | nextcloud-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.php | 3 |
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. |