nextcloud/apps/files_sharing/settings.php

10 lines
384 B
PHP
Raw Normal View History

<?php
2012-05-01 16:59:38 -04:00
OCP\User::checkAdminUser();
2012-05-01 14:03:41 -04:00
OCP\Util::addscript('files_sharing', 'settings');
2012-05-06 17:00:36 -04:00
$tmpl = new OCP\Template('files_sharing', 'settings');
2012-05-02 08:11:29 -04:00
$tmpl->assign('allowResharing', OCP\Config::getAppValue('files_sharing', 'resharing', 'yes'));
$tmpl->assign('allowSharingWithEveryone', OCP\Config::getAppValue('files_sharing', 'allowSharingWithEveryone', 'no'));
return $tmpl->fetchPage();
?>