-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
39 lines (34 loc) · 1008 Bytes
/
config.php
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
<?php
//bipe
define('URL', 'http://localhost/bipe/');
define('TITLE', 'biPE');
define('LOCALE' ,'ca');
define('MODE', 'dark');
define('LOGGING', false);
define('TIMEZONE', 'Europe/Andorra');
define('WORKDAY_DURATION', 8);
define('INTERVAL_H', '0.25');
define('SKIP_WEEKENDS_HOLIDAYS', true);
define('RECORDS_PAGE', 3);
define('MILEAGE_RATE', 0.19);
//MariaDB
define('DB_HOST', 'localhost');
define('DB_NAME', 'bipe');
define('DB_PORT', 3306);
define('DB_USER', 'mysql');
define('DB_PASS', 'mysql');
//LDAP
define('LDAP_TREE', 'dc=laptop,dc=local');
define('LDAP_USER', 'cn=ldapadm,'.LDAP_TREE);
define('LDAP_HOST', 'localhost');
define('LDAP_PASS', 'testldap');
define('LDAP_USER_BASE', 'ou=users,'.LDAP_TREE);
define('LDAP_GROUP_BASE', 'ou=groups,'.LDAP_TREE);
define('LDAP_AUTH_ADMIN_GROUP', 'tech');
define('LDAP_AUTH_ACCOUNTANT_GROUP', 'accounts');
define('LDAP_AUTH_EMPLOYEE_GROUP', 'engineers');
//PHP
define('DISPLAY_ERRORS', true);
define('ERROR_REPORTING', E_ALL);
define('TIME_LIMIT', 30);
?>