nextcloud-app-radio/ajax/seturl.php

15 lines
382 B
PHP
Raw Permalink Normal View History

2016-11-17 22:07:22 +00:00
<?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', $_GET['somesetting'] );
echo 'true';