2012-04-25 19:51:18 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
OC_JSON::checkAppEnabled('files_sharing');
|
|
|
|
OC_JSON::checkAdminUser();
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
?>
|