forked from nathalie/pedi2
Quitado storage_path por default
This commit is contained in:
parent
ceaddcabc3
commit
688abf406d
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class CsvHelper
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static function getRecords($filePath, $message): Iterator {
|
public static function getRecords($filePath, $message): Iterator {
|
||||||
$csv = Reader::createFromPath(storage_path($filePath));
|
$csv = Reader::createFromPath($filePath);
|
||||||
try {
|
try {
|
||||||
$csv->setDelimiter("|");
|
$csv->setDelimiter("|");
|
||||||
$csv->setEnclosure("'");
|
$csv->setEnclosure("'");
|
||||||
|
|
Loading…
Add table
Reference in a new issue