line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lemonldap::NG::Common::Conf::Constants; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
28
|
use strict; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
235
|
|
4
|
6
|
|
|
6
|
|
26
|
use Exporter 'import'; |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
208
|
|
5
|
|
|
|
|
|
|
|
6
|
6
|
|
|
6
|
|
24
|
use base qw(Exporter); |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
656
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.0.2'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# CONSTANTS |
10
|
|
|
|
|
|
|
|
11
|
6
|
|
|
6
|
|
26
|
use constant CONFIG_WAS_CHANGED => -1; |
|
6
|
|
|
|
|
7
|
|
|
6
|
|
|
|
|
419
|
|
12
|
6
|
|
|
6
|
|
25
|
use constant UNKNOWN_ERROR => -2; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
256
|
|
13
|
6
|
|
|
6
|
|
23
|
use constant DATABASE_LOCKED => -3; |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
240
|
|
14
|
6
|
|
|
6
|
|
24
|
use constant UPLOAD_DENIED => -4; |
|
6
|
|
|
|
|
7
|
|
|
6
|
|
|
|
|
284
|
|
15
|
6
|
|
|
6
|
|
27
|
use constant SYNTAX_ERROR => -5; |
|
6
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
254
|
|
16
|
6
|
|
|
6
|
|
22
|
use constant DEPRECATED => -6; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
247
|
|
17
|
6
|
|
|
6
|
|
23
|
use constant DEFAULTCONFFILE => "/usr/local/lemonldap-ng/etc/lemonldap-ng.ini"; |
|
6
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
233
|
|
18
|
6
|
|
|
6
|
|
24
|
use constant DEFAULTSECTION => "all"; |
|
6
|
|
|
|
|
7
|
|
|
6
|
|
|
|
|
230
|
|
19
|
6
|
|
|
6
|
|
22
|
use constant CONFSECTION => "configuration"; |
|
6
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
216
|
|
20
|
6
|
|
|
6
|
|
22
|
use constant PORTALSECTION => "portal"; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
222
|
|
21
|
6
|
|
|
6
|
|
24
|
use constant HANDLERSECTION => "handler"; |
|
6
|
|
|
|
|
5
|
|
|
6
|
|
|
|
|
214
|
|
22
|
6
|
|
|
6
|
|
21
|
use constant MANAGERSECTION => "manager"; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
244
|
|
23
|
6
|
|
|
6
|
|
26
|
use constant SESSIONSEXPLORERSECTION => "sessionsExplorer"; |
|
6
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
230
|
|
24
|
6
|
|
|
6
|
|
23
|
use constant APPLYSECTION => "apply"; |
|
6
|
|
|
|
|
7
|
|
|
6
|
|
|
|
|
672
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( |
27
|
|
|
|
|
|
|
'all' => [ |
28
|
|
|
|
|
|
|
qw( |
29
|
|
|
|
|
|
|
CONFIG_WAS_CHANGED |
30
|
|
|
|
|
|
|
UNKNOWN_ERROR |
31
|
|
|
|
|
|
|
DATABASE_LOCKED |
32
|
|
|
|
|
|
|
UPLOAD_DENIED |
33
|
|
|
|
|
|
|
SYNTAX_ERROR |
34
|
|
|
|
|
|
|
DEPRECATED |
35
|
|
|
|
|
|
|
DEFAULTCONFFILE |
36
|
|
|
|
|
|
|
DEFAULTSECTION |
37
|
|
|
|
|
|
|
CONFSECTION |
38
|
|
|
|
|
|
|
PORTALSECTION |
39
|
|
|
|
|
|
|
HANDLERSECTION |
40
|
|
|
|
|
|
|
MANAGERSECTION |
41
|
|
|
|
|
|
|
SESSIONSEXPLORERSECTION |
42
|
|
|
|
|
|
|
APPLYSECTION |
43
|
|
|
|
|
|
|
) |
44
|
|
|
|
|
|
|
] |
45
|
|
|
|
|
|
|
); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } ); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
1; |
52
|
|
|
|
|
|
|
__END__ |