diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-09-08 09:13:59 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-09-08 18:44:27 +0200 |
commit | 6bb95de1c50208d6cbaf1242f86a2fdab09c2246 (patch) | |
tree | 47fa17b753a672e6d93c2186c517df2fd5b355b2 /apps/files_sharing/lib/Controllers/ShareController.php | |
parent | b3d3a95bf3e11a4689884f72f6d6021d4dcff97c (diff) | |
download | nextcloud-server-6bb95de1c50208d6cbaf1242f86a2fdab09c2246.tar.gz nextcloud-server-6bb95de1c50208d6cbaf1242f86a2fdab09c2246.zip |
Adding a optional disclaimer to the anonymous upload page
Diffstat (limited to 'apps/files_sharing/lib/Controllers/ShareController.php')
-rw-r--r-- | apps/files_sharing/lib/Controllers/ShareController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Controllers/ShareController.php b/apps/files_sharing/lib/Controllers/ShareController.php index cd0d40048cf..5ccaab746fc 100644 --- a/apps/files_sharing/lib/Controllers/ShareController.php +++ b/apps/files_sharing/lib/Controllers/ShareController.php @@ -357,6 +357,7 @@ class ShareController extends Controller { $shareTmpl['previewEnabled'] = $this->config->getSystemValue('enable_previews', true); $shareTmpl['previewMaxX'] = $this->config->getSystemValue('preview_max_x', 1024); $shareTmpl['previewMaxY'] = $this->config->getSystemValue('preview_max_y', 1024); + $shareTmpl['disclaimer'] = $this->config->getAppValue('core', 'shareapi_public_link_disclaimertext', null); // Load files we need \OCP\Util::addScript('files', 'file-upload'); |