aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/settings.php')
-rw-r--r--apps/files_sharing/settings.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_sharing/settings.php b/apps/files_sharing/settings.php
new file mode 100644
index 00000000000..b30c4f45cde
--- /dev/null
+++ b/apps/files_sharing/settings.php
@@ -0,0 +1,9 @@
+<?php
+
+OC_Util::checkAdminUser();
+OC_Util::addScript('files_sharing', 'settings');
+$tmpl = new OC_Template('files_sharing', 'settings');
+$tmpl->assign('allowResharing', OC_Appconfig::getValue('files_sharing', 'resharing', 'yes'));
+return $tmpl->fetchPage();
+
+?> \ No newline at end of file