summaryrefslogtreecommitdiffstats
path: root/apps/files/index.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 /apps/files/index.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 'apps/files/index.php')
-rw-r--r--apps/files/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 2338cf439e4..892f75a3513 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -138,5 +138,6 @@ if ($needUpgrade) {
$tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']);
$tmpl->assign('isPublic', false);
+ $tmpl->assign('publicUploadEnabled', \OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes'));
$tmpl->printPage();
}