diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/bdrem.config.php.dist | 19 |
1 files changed, 19 insertions, 0 deletions
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', |
