release 0.6.0
[bdrem.git] / data / bdrem.config.php.dist
1 <?php
2 //source: birthday file
3 $source = array('Bdf', '/path/to/birthday.bdf');
4
5 //Source: SQL database
6 $source = array(
7     'Sql',
8     array(
9         'dsn' => 'mysql:dbname=bdrem;host=127.0.0.1',
10         'user' => 'FIXME',
11         'password' => 'FIXME',
12         'table' => 'contacts',
13         'fields' => array(
14             'date' => array(
15                 //column name => event title
16                 'c_birthday' => 'Birthday'
17             ),
18             //column with name, or array with column names
19             'name' => array('c_name'),
20             //sprintf-compatible name formatting instruction
21             'nameFormat' => '%s',
22         )
23     )
24 );
25
26 //Source: LDAP
27 $source = array(
28     'Ldap',
29     array(
30         'host'   => 'ldap.example.org',
31         'basedn' => 'ou=adressbuch,dc=example,dc=org',
32         'binddn' => 'cn=FIXME,ou=users,dc=example,dc=org',
33         'bindpw' => 'FIXME'
34     )
35 );
36
37
38 $daysPrev = 3;
39 $daysNext = 14;
40 $locale = 'de_DE.UTF-8';
41
42 //email settings
43 $mail_from = 'birthday@example.org';
44 $mail_to = array('a@example.org', 'b@example.org');
45 ?>