line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lemonldap::NG::Common::Conf::Constants; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
39
|
use strict; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
213
|
|
4
|
6
|
|
|
6
|
|
30
|
use Exporter 'import'; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
224
|
|
5
|
|
|
|
|
|
|
|
6
|
6
|
|
|
6
|
|
30
|
use base qw(Exporter); |
|
6
|
|
|
|
|
20
|
|
|
6
|
|
|
|
|
874
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.0.2'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# CONSTANTS |
10
|
|
|
|
|
|
|
|
11
|
6
|
|
|
6
|
|
33
|
use constant CONFIG_WAS_CHANGED => -1; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
466
|
|
12
|
6
|
|
|
6
|
|
27
|
use constant UNKNOWN_ERROR => -2; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
283
|
|
13
|
6
|
|
|
6
|
|
33
|
use constant DATABASE_LOCKED => -3; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
297
|
|
14
|
6
|
|
|
6
|
|
28
|
use constant UPLOAD_DENIED => -4; |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
304
|
|
15
|
6
|
|
|
6
|
|
29
|
use constant SYNTAX_ERROR => -5; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
311
|
|
16
|
6
|
|
|
6
|
|
31
|
use constant DEPRECATED => -6; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
312
|
|
17
|
6
|
|
|
6
|
|
28
|
use constant DEFAULTCONFFILE => "/usr/local/lemonldap-ng/etc/lemonldap-ng.ini"; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
257
|
|
18
|
6
|
|
|
6
|
|
27
|
use constant DEFAULTSECTION => "all"; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
272
|
|
19
|
6
|
|
|
6
|
|
45
|
use constant CONFSECTION => "configuration"; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
383
|
|
20
|
6
|
|
|
6
|
|
31
|
use constant PORTALSECTION => "portal"; |
|
6
|
|
|
|
|
20
|
|
|
6
|
|
|
|
|
269
|
|
21
|
6
|
|
|
6
|
|
30
|
use constant HANDLERSECTION => "handler"; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
268
|
|
22
|
6
|
|
|
6
|
|
328
|
use constant MANAGERSECTION => "manager"; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
325
|
|
23
|
6
|
|
|
6
|
|
37
|
use constant SESSIONSEXPLORERSECTION => "sessionsExplorer"; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
322
|
|
24
|
6
|
|
|
6
|
|
35
|
use constant APPLYSECTION => "apply"; |
|
6
|
|
|
|
|
23
|
|
|
6
|
|
|
|
|
1081
|
|
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__ |