fixes for lighttpd and php 5.4
[bdrem.git] / data / bdrem.config.php.dist
index 7af4ed0dc4f3e5907a311f29e3427a4df2f3b0dd..6d259e67c9aa8561cc1bc81370cf545b28778caa 100644 (file)
@@ -15,14 +15,31 @@ $source = array(
                 //column name => event title
                 'c_birthday' => 'Birthday'
             ),
-            //column with name
-            'name' => 'c_name'
+            //column with name, or array with column names
+            'name' => array('c_name'),
+            //sprintf-compatible name formatting instruction
+            'nameFormat' => '%s',
         )
     )
 );
 
+//Source: LDAP
+$source = array(
+    'Ldap',
+    array(
+        'host'   => 'ldap.example.org',
+        'basedn' => 'ou=adressbuch,dc=example,dc=org',
+        'binddn' => 'cn=FIXME,ou=users,dc=example,dc=org',
+        'bindpw' => 'FIXME'
+    )
+);
+
 
-$daysBefore = 3;
-$daysAfter = 14;
+$daysPrev = 3;
+$daysNext = 14;
 $locale = 'de_DE.UTF-8';
+
+//email settings
+$mail_from = 'birthday@example.org';
+$mail_to = array('a@example.org', 'b@example.org');
 ?>