X-Git-Url: https://git.cweiske.de/bdrem.git/blobdiff_plain/0036cdb88b841e7bdeff6e08108c4f2adf03674f..c6414fc745ef7d2bb6d1e6cca59bbd5212179542:/data/bdrem.config.php.dist diff --git a/data/bdrem.config.php.dist b/data/bdrem.config.php.dist index 6d259e6..3689d1b 100644 --- a/data/bdrem.config.php.dist +++ b/data/bdrem.config.php.dist @@ -2,6 +2,25 @@ //source: birthday file $source = array('Bdf', '/path/to/birthday.bdf'); +//Source: CSV file (simple) +$source = array('Csv', '/path/to/file.csv'); + +//Source: CSV file (complex) +$source = array( + 'Csv', + array( + 'filename' => '/path/to/file.csv', + 'columns' => array( + 'name' => 0, + 'event' => 1, + 'date' => 2 + ), + 'firstLineIsHeader' => true, + 'defaultEvent' => 'Birthday', + 'separator' => ',', + ) +); + //Source: SQL database $source = array( 'Sql',