mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
ownCloud new package (with built-in RainLoop Webmail)
Remove VERSION file dependence. Small fixes
This commit is contained in:
parent
169bd45f31
commit
fb18e4e799
145 changed files with 500 additions and 5462 deletions
22
build/owncloud/rainloop-app/index-admin.php
Normal file
22
build/owncloud/rainloop-app/index-admin.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue