]> git.sur5r.net Git - contagged/blob - inc/config.php
782f9a4ed003537ce5aab3fd54fb09a72f22b397
[contagged] / inc / config.php
1 <?php
2
3   // LDAP URL; if set, takes precedence over ldapserver and ldapport
4   #$conf['ldapurl']     = 'ldaps://ldap.example.com/';
5
6   // Which LDAP Server to use?
7   $conf['ldapserver']  = 'ldap';
8
9   // Which LDAP Port Server to use? (389 is standard, 636 for ssl)
10   $conf['ldapport']    = 389;
11
12   // Use LDAP protocol version 3? (0|1)
13   $conf['ldapv3'] = 1;
14
15   // What is the root dn on this Server?
16   $conf['ldaprootdn']  = 'o=cosmocode, c=de';
17
18   // Where are the user Accounts stored?
19   $conf['usertree']    = 'ou=people, '.$conf['ldaprootdn'];
20
21   // How to match users? %u is replaced by the given login
22   $conf['userfilter']  = '(&(uid=%u)(objectClass=posixAccount))';
23
24   // Use these values to bind to the ldap directory when not logged in (leave blank for anonymous bind)
25   $conf['anonbinddn']  = '';
26   $conf['anonbindpw']  = '';
27
28   // Which language to use (see lang directory)
29   $conf['lang']        = 'en';
30
31   // Where to store public contacts?
32   $conf['publicbook']  = 'ou=contacts, '.$conf['ldaprootdn'];
33
34   // Where to store private contacts (relative to $conf['usertree'])
35   $conf['privatebook'] = 'ou=contacts';
36
37   // Should the public address book be viewable by logged in users only? (0|1)
38   $conf['userlogreq']  = 0;
39
40   // Should we try to login using the username and password provided by httpd? (0|1)
41   $conf['httpd_auth']  = 0;
42
43   // Store the first 4 tags in Thunderbird's custom fields when using ldapab.schema
44   $conf['tbtaghack']   = 1;
45
46   // Dateformat for birthdays and anniversary
47   // see http://www.php.net/manual/en/function.strftime.php
48   $conf['dateformat']  = '%Y/%m/%d';
49   #$conf['dateformat']  = '%d.%m.%Y';
50
51   // Google maps key, you can specify multiple when running the app through different vhosts
52   $conf['gmaps'] = array(
53     'localhost'        => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSoniRWQPYZHIWuWPbij8hFqvrEuw',
54     'intranet.cosmo'   => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RTxyuybgLnXtMVD7dljhze3zUboVhTqk9yc-rQVvv2YwFFJN20RCNbIVA',
55     'intranet'         => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RTjlGRJ-JcA4ENdYSxSTUELqnaldxSOyZdbUNylw_BZHH1bBLrQNGtjZg',
56     'fileserver.cosmo' => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RQ2oMD1p7-NjsUZiDyjvzpK3IuhixTXdHGQRp8jtjwAl-P4oPPEB_hGgw',
57   );
58
59   // Force recompilation of smarty templates?
60   $conf['smartycompile'] = 1;
61
62