mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 14:38:27 +03:00
22 lines
543 B
PHP
22 lines
543 B
PHP
<?php
|
|
|
|
/**
|
|
* ownCloud - RainLoop mail plugin
|
|
*
|
|
* @author RainLoop Team
|
|
* @copyright 2014 RainLoop Team
|
|
*
|
|
* https://github.com/RainLoop/rainloop-webmail/tree/master/build/owncloud
|
|
*/
|
|
|
|
OCP\User::checkAdminUser();
|
|
OCP\App::checkAppEnabled('rainloop');
|
|
OCP\App::setActiveNavigationEntry('rainloop_index_admin');
|
|
|
|
$sUrl = OCP\Util::linkTo('apps/rainloop/app', 'index.php');
|
|
$sResultUrl = $sUrl.'?admin';
|
|
|
|
$oTemplate = new OCP\Template('rainloop', 'iframe', 'user');
|
|
$oTemplate->assign('rainloop-url', $sResultUrl);
|
|
|
|
$oTemplate->printpage();
|