. * */ // Init owncloud require_once('../lib/base.php'); oc_require( 'template.php' ); // Check if we are a user if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } // return template $tmpl = new OC_TEMPLATE( "files", "admin", "admin" ); $tmpl->printPage(); ?>