2012-04-25 19:51:18 +04:00
|
|
|
<?php
|
|
|
|
|
2012-05-03 14:23:29 +04:00
|
|
|
OCP\JSON::checkAppEnabled('files_sharing');
|
|
|
|
OCP\JSON::checkAdminUser();
|
2012-04-25 19:51:18 +04:00
|
|
|
if ($_POST['resharing'] == true) {
|
2012-05-02 16:11:29 +04:00
|
|
|
OCP\Config::setAppValue('files_sharing', 'resharing', 'yes');
|
2012-04-25 19:51:18 +04:00
|
|
|
} else {
|
2012-05-02 16:11:29 +04:00
|
|
|
OCP\Config::setAppValue('files_sharing', 'resharing', 'no');
|
2012-04-25 19:51:18 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|