Let's try to figure out why we're having an issue with a temp csv file

This commit is contained in:
MarkBaker 2020-10-09 14:52:01 +02:00
parent ee13533db3
commit 6e6c68e7b3
2 changed files with 2 additions and 0 deletions

View File

@ -522,6 +522,7 @@ class Csv extends BaseReader
// Attempt to guess mimetype
$type = mime_content_type($pFilename);
var_dump($type);
$supportedTypes = [
'text/csv',
'text/plain',

View File

@ -153,6 +153,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional
$writer->save($filename);
$filedata = file_get_contents($filename);
$filedata = preg_replace('/\\r/', '', $filedata);
var_dump($filedata);
$reader = new CsvReader();
$reader->setDelimiter($delimiter);
$reader->setEnclosure($enclosure);