]> git.sur5r.net Git - contagged/blob - inc/config.php
5f8aaf4bf8546594bf7b9cb4549ddc08f9223fb3
[contagged] / inc / config.php
1 <?
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 the additional schema ldapab.schema be used? (0|1)
41   // Note: openxchange and extended are currently exclusive, do not use both at the same time!
42   $conf['extended']    = 1;
43
44   // Should we use some parts of the openxchange.schema? (0|1)
45   // Note: openxchange and extended are currently exclusive, do not use both at the same time!
46   $conf['openxchange'] = 0;
47
48   // Should we try to login using the username and password provided by httpd? (0|1)
49   $conf['httpd_auth']  = 0;
50
51   // Dateformat for birthdays when using extended schema
52   // see http://www.php.net/manual/en/function.strftime.php
53   $conf['dateformat']  = '%Y/%m/%d';
54   #$conf['dateformat']  = '%d.%m.%Y';
55
56   // Google maps key, you can specify multiple when running the app through different vhosts
57   $conf['gmaps'] = array(
58     'localhost'        => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSoniRWQPYZHIWuWPbij8hFqvrEuw',
59     'intranet.cosmo'   => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RTxyuybgLnXtMVD7dljhze3zUboVhTqk9yc-rQVvv2YwFFJN20RCNbIVA',
60     'intranet'         => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RTjlGRJ-JcA4ENdYSxSTUELqnaldxSOyZdbUNylw_BZHH1bBLrQNGtjZg',
61     'fileserver.cosmo' => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RQ2oMD1p7-NjsUZiDyjvzpK3IuhixTXdHGQRp8jtjwAl-P4oPPEB_hGgw',
62   );
63
64   // Force recompilation of smarty templates?
65   $conf['smartycompile'] = 1;
66
67