summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-20 19:04:31 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-20 19:04:31 +0200
commite3f82b865eaf5a628c999b7210f3dba88de11139 (patch)
treedb09772343fd6d62362eaf81e637e9fa7d39ae8b /admin
parentd13e701e371027c3dd3b12201c253c9c0ae65f23 (diff)
add admin settings stub
Diffstat (limited to 'admin')
-rw-r--r--admin/admin.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/admin/admin.php b/admin/admin.php
new file mode 100644
index 000000000..9880e49c6
--- /dev/null
+++ b/admin/admin.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
+
+namespace OCA\News\Admin;
+
+use OCA\News\AppInfo\Application;
+
+$app = new Application();
+$container = $app->getContainer();
+$response = $container->query('AdminController')->index();
+
+return $response->render(); \ No newline at end of file