aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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();