server/apps/files_sharing/settings.php
2012-05-06 23:00:36 +02:00

9 lines
No EOL
265 B
PHP
Executable file

<?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();
?>