server/apps/files_sharing/settings.php
2012-05-01 20:03:41 +02:00

9 lines
No EOL
262 B
PHP
Executable file

<?php
OC_Util::checkAdminUser();
OCP\Util::addscript('files_sharing', 'settings');
$tmpl = new OC_Template('files_sharing', 'settings');
$tmpl->assign('allowResharing', OC_Appconfig::getValue('files_sharing', 'resharing', 'yes'));
return $tmpl->fetchPage();
?>