]> git.datanom.net - qtadmin.git/blob - config.php
First upload of wblist page
[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 // wblistadm server
18 $CFG->wblistadm_url = "http://127.0.0.1:8080";
19
20 $CFG->root = '/usr/share/quarantine-admin/';
21 $CFG->wwwroot = '/qtadmin/';
22
23 // HTTP_AUTH or LDAP
24 $CFG->auth_method = 'LDAP';
25 // If HTTP_AUTH is chosen configure admin user here
26 //$CFG->admin_user = 'some_admin';
27
28 $CFG->db_driver = 'mysqli';
29 $DB = null;
30
31 // Session timeout in minuts
32 // Default timeout is 20 minuts
33 $CFG->session_timeout = 60;
34
35 // Log level
36 // 0 = no logging
37 // 1 = error
38 // 2 = warning
39 // 3 = info
40 // 4 = debug
41 // Default log level is error
42 $CFG->log_level = 3;
43
44 // Log method
45 // stderr = Log to stand error
46 // file = Log to file. Requires write permission
47 // syslog = syslog
48 // Default log method is syslog
49 $CFG->log_method = 'syslog';
50
51 // File to log to if log method is file
52 // Both relative and absolut path is accepted
53 // If path is relative root is $CFG->root
54 // Default file is $CFG->root.qtadmin.log
55 $CFG->log_file = 'qtadmin.log';
56 ?>
This page took 0.098803 seconds and 6 git commands to generate.