-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
conf.php.example
43 lines (34 loc) · 1.39 KB
/
conf.php.example
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
40
41
42
43
<?php
///// GENERAL CONFIGURATION /////
const WEB_ADDRESS = 'https://your-server.local/';
const TMP_FILES = __DIR__.'/'.'tmp';
const TEMPLATE_FILES = __DIR__.'/'.'template';
const LOCALE = 'de_DE.UTF-8';
const DATE_FORMAT = '%e. %b %Y';
const USERNAME_OVERRIDES = [
'root' => 'SUPERADMIN',
'admin' => 'SUPERADMIN',
];
///// MySQL CONFIGURATION /////
const DB_HOST = '127.0.0.1';
const DB_NAME = 'masterplan';
const DB_USER = 'masterplan';
const DB_PASS = 'PASSWORD';
///// LDAP CONFIGURATION (optional) /////
/*
If you want to use LDAP user sync and login, please fill the following config lines.
Otherwise, please set LDAP_SERVER to »null«.
To sync LDAP users with the MASTERPLAN database, please execute "php lib/ldapsync.php" (via Cron)
Set LDAP_SYNC_GROUP to »null« if you want to sync all users inside LDAP_QUERY_ROOT.
Otherwise, insert the LDAP path of the group.
*/
// Example: 'ldap://192.168.56.101' (single) or 'ldaps://192.168.56.101' (secure) or 'ldaps://192.168.56.101 ldaps://192.168.56.102' (multiple) or null (disabled)
const LDAP_SERVER = null;
const LDAP_USER = '';
const LDAP_PASS = '';
// Example: 'subdomain.domain.tld'
const LDAP_DOMAIN = '';
// Example: 'OU=Benutzer,DC=sieber,DC=systems'
const LDAP_QUERY_ROOT = '';
// Example: 'CN=MasterplanUsers,OU=Benutzer,DC=sieber,DC=systems' or null
const LDAP_SYNC_GROUP = null;