nextcloud/apps/files_sharing/settings.php

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