summaryrefslogtreecommitdiffstats
path: root/ajax
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-04-28 10:27:29 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-04-28 10:27:29 -0400
commit797edb75a159f4bce2a5df1d6a04905caf85d563 (patch)
tree7c8e10d43045036293a81b65e3c8ea0deae48385 /ajax
parentf3e249a4a24548fb1487aec76113b5e1216db75c (diff)
created a stub for the News app
Diffstat (limited to 'ajax')
-rw-r--r--ajax/seturl.php15
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';
+
+?>