settings.php 265 B

123456789
  1. <?php
  2. OCP\User::checkAdminUser();
  3. OCP\Util::addscript('files_sharing', 'settings');
  4. $tmpl = new OCP\Template('files_sharing', 'settings');
  5. $tmpl->assign('allowResharing', OCP\Config::getAppValue('files_sharing', 'resharing', 'yes'));
  6. return $tmpl->fetchPage();
  7. ?>