更新插件修复下载错误
This commit is contained in:
1 parent
a88c8eaf77
commit
3fa6c8f82f
23 files changed
+203
-191
No files matched your search
@@ -442,6 +442,7 @@ class Index extends AdminBase
|
||||
header('Content-Disposition: attachment;filename="' . $filename . '"');
|
||||
header('Cache-Control: max-age=0');
|
||||
$writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($spreadsheet, 'Xlsx');
|
||||
ini_set("error_reporting","E_ALL & ~E_NOTICE");
|
||||
$writer->save('php://output');
|
||||
ob_flush();
|
||||
flush();
|
||||
@@ -648,6 +649,7 @@ class Index extends AdminBase
|
||||
header('Content-Disposition: attachment;filename="' . $filename . '"');
|
||||
header('Cache-Control: max-age=0');
|
||||
$writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($spreadsheet, 'Xlsx');
|
||||
ini_set("error_reporting","E_ALL & ~E_NOTICE");
|
||||
$writer->save('php://output');
|
||||
ob_flush();
|
||||
flush();
|
||||
|
||||
Reference in new issue
Block a user