]> git.datanom.net - qtadmin.git/blob - config.php
Add check for valid session
[qtadmin.git] / config.php
1 <?php
2 /* vim: set ts=4 tw=0 sw=4 noet: */
3 $CFG = new stdClass;
4
5 // Amavis
6 $CFG->amavisd_db_host = "127.0.0.1";
7 $CFG->amavisd_db_port = 3306;
8 $CFG->amavisd_db_name = "amavisd";
9 $CFG->amavisd_db_user = "amavisd";
10 $CFG->amavisd_db_password = "suFt3oEEmmXTjFq1bjTXRNIPXhF41a";
11 $CFG->amavis_policy_port = 9998;
12 // LDAP
13 $CFG->ldap_dsn = "ldap://127.0.0.1:389";
14 $CFG->ldap_base_dn = "o=domains,dc=datanom,dc=net";
15
16 $CFG->root = '/usr/share/quarantine-admin/';
17 $CFG->wwwroot = '/qtadmin/';
18
19 // HTTP_AUTH or LDAP
20 $CFG->auth_method = 'LDAP';
21 // If HTTP_AUTH is chosen configure admin user here
22 //$CFG->admin_user = 'some_admin';
23
24 $CFG->db_driver = 'mysqli';
25 $DB = null;
26
27 // Session timeout in minuts
28 // Default timeout is 20 minuts
29 $CFG->session_timeout = 60;
30
31 ?>
This page took 0.111005 seconds and 6 git commands to generate.