]> git.datanom.net - qtadmin.git/blame_incremental - config.php
Add check for valid session
[qtadmin.git] / config.php
... / ...
CommitLineData
1<?php
2/* vim: set ts=4 tw=0 sw=4 noet: */
3unset($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 = 4;
40
41// Log method
42// stderr = Stand Error
43// file = file to log to. Requires write permission to web server
44// syslog = syslog
45// Default log method is syslog
46$CFG->log_method = 'syslog';
47?>
This page took 0.034764 seconds and 5 git commands to generate.