-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPmsConfig.pm
More file actions
55 lines (44 loc) · 1.1 KB
/
PmsConfig.pm
File metadata and controls
55 lines (44 loc) · 1.1 KB
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
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/perl -w
=begin nd
Package: PmsConfig
Description:
This is the configuration file of the pms-admin interface.
It is written and perl and is directly interpreted by the
application.
You can configure the database connection, and which modules are
loaded into the UI.
=cut
package PmsConfig;
use strict;
=begin nd
variable: %database
A hash containing the database connection
informations
=cut
our %database = (
platform => "mysql",
database => "pms",
host => "localhost",
port => "3306",
user => "pms",
password => "secret"
);
=begin nd
variable: @modules
A array of hashes, each hash describes a
other module that is loaded into the
Interface.
A module hash needs the following elements:
fqn - the directory of the module
name - the name of the module shown in the UI
view - the start view of the module, if the module is choosen in
the gui this will be the first rendered page
=cut
our @modules = (
{
fqn => "Security",
name => "Sicherheit",
view => "addUser"
}
);
return 1;