update spreadsheet path

This commit is contained in:
philipp lang 2023-03-27 23:24:12 +02:00
parent b443543ff9
commit 86ddbd6775
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/vendor/
/.php-cs-fixer.cache

View File

@ -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);