oauth dance works
[grauphel.git] / index.php
1 <?php
2
3 // Check if we are a user
4 OCP\User::checkLoggedIn();
5
6 $somesetting = OCP\Config::getSystemValue( "somesetting", '' );
7 OCP\App::setActiveNavigationEntry( 'grauphel' );
8 $tmpl = new OCP\Template( 'grauphel', 'main', 'user' );
9 $tmpl->assign( 'somesetting', $somesetting );
10 $tmpl->printPage();