aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-08-14 18:41:34 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-08-14 18:41:34 +0200
commit3780cf15a59c48b3d71e8ec27e3bdacd8a119460 (patch)
tree84498c8ebdb29f212ab1b37c1d8b911eb6a237e9 /index.php
downloadgrauphel-3780cf15a59c48b3d71e8ec27e3bdacd8a119460.tar.gz
grauphel-3780cf15a59c48b3d71e8ec27e3bdacd8a119460.zip
wip
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100755
index 0000000..1129766
--- /dev/null
+++ b/index.php
@@ -0,0 +1,10 @@
+<?php
+
+// Check if we are a user
+OCP\User::checkLoggedIn();
+
+$somesetting = OCP\Config::getSystemValue( "somesetting", '' );
+OCP\App::setActiveNavigationEntry( 'grauphel' );
+$tmpl = new OCP\Template( 'grauphel', 'main', 'user' );
+$tmpl->assign( 'somesetting', $somesetting );
+$tmpl->printPage();