server/apps/files_sharing/settings.php
2012-05-15 00:52:00 +02:00

9 lines
No EOL
265 B
PHP

<?php
OCP\User::checkAdminUser();
OCP\Util::addscript('files_sharing', 'settings');
$tmpl = new OCP\Template('files_sharing', 'settings');
$tmpl->assign('allowResharing', OCP\Config::getAppValue('files_sharing', 'resharing', 'yes'));
return $tmpl->fetchPage();
?>