2014-06-03 23:59:00 +08:00
|
|
|
<?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\Util::addScript('rainloop', 'admin');
|
|
|
|
|
|
|
|
$oTemplate = new OCP\Template('rainloop', 'admin');
|
|
|
|
$oTemplate->assign('rainloop-url', OCP\Config::getAppValue('rainloop', 'rainloop-url', ''));
|
2014-07-26 00:05:20 +08:00
|
|
|
$oTemplate->assign('rainloop-path', OCP\Config::getAppValue('rainloop', 'rainloop-path', ''));
|
2014-08-10 04:46:23 +08:00
|
|
|
$oTemplate->assign('rainloop-autologin', OCP\Config::getAppValue('rainloop', 'rainloop-autologin', false));
|
2014-06-03 23:59:00 +08:00
|
|
|
return $oTemplate->fetchPage();
|