diff options
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/seturl.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ajax/seturl.php b/ajax/seturl.php new file mode 100644 index 000000000..832a44569 --- /dev/null +++ b/ajax/seturl.php @@ -0,0 +1,15 @@ +<?php +/** + * Copyright (c) 2011, Frank Karlitschek <karlitschek@kde.org> + * This file is licensed under the Affero General Public License version 3 or later. + * See the COPYING-README file. + */ + +require_once('../../../lib/base.php'); +OC_Util::checkAdminUser(); + +OC_Config::setValue( 'somesetting', $_POST['somesetting'] ); + +echo 'true'; + +?> |