server/apps/files_sharing/settings.php
2012-05-01 22:59:38 +02:00

9 lines
No EOL
263 B
PHP
Executable file

<?php
OCP\User::checkAdminUser();
OCP\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();
?>