summaryrefslogtreecommitdiffstats
path: root/ajax/seturl.php
blob: 832a44569ecb8b78bdb95697d27e6fb36ebf8346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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';

?>