diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-12 17:03:51 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-12 17:03:51 +0200 |
commit | fc2d5383119f548f58b5000ebb94422b7feb08a7 (patch) | |
tree | ace8d4a7b0c08618de4daa1f1580ecaac039f26e /apps/files/index.php | |
parent | 8ae2066b203e5420fa48d6717192db7e96343a2a (diff) | |
download | nextcloud-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.php | 1 |
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(); } |