]> git.datanom.net - qtadmin.git/blob - config.php
Enhance security
[qtadmin.git] / config.php
1 <?php
2 /* vim: set ts=4 tw=0 sw=4 noet: */
3 unset($CFG);
4 $CFG = new stdClass;
5
6 // Amavis
7 $CFG->amavisd_db_host = "127.0.0.1";
8 $CFG->amavisd_db_port = 3306;
9 $CFG->amavisd_db_name = "amavisd";
10 $CFG->amavisd_db_user = "amavisd";
11 $CFG->amavisd_db_password = "suFt3oEEmmXTjFq1bjTXRNIPXhF41a";
12 $CFG->amavis_policy_port = 9998;
13 // LDAP
14 $CFG->ldap_dsn = "ldap://127.0.0.1:389";
15 $CFG->ldap_base_dn = "o=domains,dc=datanom,dc=net";
16
17 $CFG->root = '/usr/share/quarantine-admin/';
18 $CFG->wwwroot = '/qtadmin/';
19
20 // HTTP_AUTH or LDAP
21 $CFG->auth_method = 'LDAP';
22 // If HTTP_AUTH is chosen configure admin user here
23 //$CFG->admin_user = 'some_admin';
24
25 $CFG->db_driver = 'mysqli';
26 $DB = null;
27
28 // Session timeout in minuts
29 // Default timeout is 20 minuts
30 $CFG->session_timeout = 60;
31
32 // Log level
33 // 0 = no logging
34 // 1 = error
35 // 2 = warning
36 // 3 = info
37 // 4 = debug
38 // Default log level is error
39 $CFG->log_level = 3;
40
41 // Log method
42 // stderr = Log to stand error
43 // file = Log to file. Requires write permission
44 // syslog = syslog
45 // Default log method is syslog
46 $CFG->log_method = 'syslog';
47
48 // File to log to if log method is file
49 // Both relative and absolut path is accepted
50 // If path is relative root is $CFG->root
51 // Default file is $CFG->root.qtadmin.log
52 $CFG->log_file = 'qtadmin.log';
53 ?>
This page took 0.060596 seconds and 6 git commands to generate.