/
Bundle.php
45 lines (41 loc) · 1.02 KB
/
Bundle.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* Horde bundle API.
*
* This file defines information about Horde bundles.
*
* Copyright 2011-2014 Horde LLC (http://www.horde.org/)
*
* @author Jan Schneider <jan@horde.org>
* @package webmail
*/
class Horde_Bundle extends Horde_Core_Bundle
{
/**
* The bundle name.
*/
const NAME = 'webmail';
/**
* The bundle version.
*/
const VERSION = '5.2.3-git';
/**
* The bundle descriptive name.
*/
const FULLNAME = 'Horde Groupware Webmail Edition';
/**
* The short bundle descriptive name.
*/
const SHORTNAME = 'Groupware';
/**
* Asks for the administrator settings.
*
* @return string The administrator name.
*/
protected function _configAuth(Horde_Variables $vars)
{
$vars->auth__driver = 'application';
$vars->auth__params__app = 'imp';
return $this->_cli->prompt('Specify an ' . $this->_cli->bold('existing') . ' mail user who you want to give administrator permissions (optional):');
}
}