Welcome to mirror list, hosted at ThFree Co, Russian Federation.

seturl.php « ajax « apptemplate - github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa6d513b4437af27f82a58c7bc098f6b046494a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Copyright (c) 2011, Frank Karlitschek <karlitschek@kde.org>
 * Copyright (c) 2012, Florian Hülsmann <fh@cbix.de>
 * This file is licensed under the Affero General Public License version 3 or later.
 * See the COPYING-README file.
 */

OCP\User::checkAdminUser();
OCP\JSON::callCheck();

OCP\Config::setSystemValue( 'somesetting', $_POST['somesetting'] );

echo 'true';