mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2025-04-03 13:23:37 +03:00
Remove spurious setLineEnding() from csv example
This commit is contained in:
parent
8d3548adb0
commit
049e85ae98
1 changed files with 0 additions and 2 deletions
|
@ -46,7 +46,6 @@ $callStartTime = microtime(true);
|
|||
|
||||
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'CSV')->setDelimiter(',')
|
||||
->setEnclosure('"')
|
||||
->setLineEnding("\r\n")
|
||||
->setSheetIndex(0)
|
||||
->save(str_replace('.php', '.csv', __FILE__));
|
||||
$callEndTime = microtime(true);
|
||||
|
@ -61,7 +60,6 @@ echo date('H:i:s') , " Read from CSV format" , EOL;
|
|||
$callStartTime = microtime(true);
|
||||
$objReader = PHPExcel_IOFactory::createReader('CSV')->setDelimiter(',')
|
||||
->setEnclosure('"')
|
||||
->setLineEnding("\r\n")
|
||||
->setSheetIndex(0);
|
||||
$objPHPExcelFromCSV = $objReader->load(str_replace('.php', '.csv', __FILE__));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue