$this->separator = ";";
rewind($handle);
$header = fgetcsv($handle, 0, $this->separator);
- if (count($header) == 1) {
- die("Invalid file format for " . $this->_file . ". It must be a valid csv with separator ',' or ';'\n");
- }
}
$this->header = $header;