server/apps/files_sharing/settings.php

9 lines
263 B
PHP
Raw Normal View History

<?php
2012-05-01 20:59:38 +00:00
OCP\User::checkAdminUser();
2012-05-01 18:03:41 +00:00
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();
?>