update spreadsheet path
This commit is contained in:
parent
b443543ff9
commit
86ddbd6775
|
@ -1 +1,2 @@
|
|||
/vendor/
|
||||
/.php-cs-fixer.cache
|
||||
|
|
|
@ -62,8 +62,7 @@ class Spreadsheet
|
|||
{
|
||||
$this->spreadsheet->setActiveSheetIndex(0);
|
||||
$writer = new \PhpOffice\PhpSpreadsheet\Writer\Xlsx($this->spreadsheet);
|
||||
$writer->save('/home/pille/spreadsheet.xlsx');
|
||||
// $writer->save(sys_get_temp_dir().'/spreadsheet.xlsx');
|
||||
$writer->save(sys_get_temp_dir().'/spreadsheet.xlsx');
|
||||
$this->spreadsheet->disconnectWorksheets();
|
||||
unset($this->spreadsheet);
|
||||
|
||||
|
|
Loading…
Reference in New Issue