nextcloud/apps/files_sharing/settings.php

10 lines
384 B
PHP
Raw Normal View History

<?php
2012-05-02 00:59:38 +04:00
OCP\User::checkAdminUser();
2012-05-01 22:03:41 +04:00
OCP\Util::addscript('files_sharing', 'settings');
2012-05-07 01:00:36 +04:00
$tmpl = new OCP\Template('files_sharing', 'settings');
2012-05-02 16: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();
?>