diff options
-rw-r--r-- | admin/admin.php | 22 |
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 |