server/apps/files_sharing/settings.php

9 lines
265 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');
2012-05-06 21:00:36 +00:00
$tmpl = new OCP\Template('files_sharing', 'settings');
2012-05-02 12:11:29 +00:00
$tmpl->assign('allowResharing', OCP\Config::getAppValue('files_sharing', 'resharing', 'yes'));
return $tmpl->fetchPage();
?>