summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-07-12 17:03:51 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-07-12 17:03:51 +0200
commitfc2d5383119f548f58b5000ebb94422b7feb08a7 (patch)
treeace8d4a7b0c08618de4daa1f1580ecaac039f26e /settings/admin.php
parent8ae2066b203e5420fa48d6717192db7e96343a2a (diff)
downloadnextcloud-server-fc2d5383119f548f58b5000ebb94422b7feb08a7.tar.gz
nextcloud-server-fc2d5383119f548f58b5000ebb94422b7feb08a7.zip
new admin setting added which allows to turn off anonymous uploads
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-xsettings/admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php
index db041ef889c..cc30c70d474 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -38,9 +38,10 @@ if (OC_Request::serverProtocol() == 'https') {
$connectedHTTPS = false;
}
$tmpl->assign('isConnectedViaHTTPS', $connectedHTTPS);
-$tmpl->assign('enforceHTTPSEnabled', OC_Config::getValue( "forcessl", false));
+$tmpl->assign('enforceHTTPSEnabled', OC_Config::getValue( "forcessl", false));
$tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes'));
+$tmpl->assign('allowPublicUpload', OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes'));
$tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes'));
$tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global'));
$tmpl->assign('forms', array());