Revert part of eb5e03880e
.
XLSX writer does not have setTempDir method.
This commit is contained in:
@@ -59,7 +59,6 @@ function PMA_exportFooter() {
|
||||
$tmp_filename = tempnam(realpath($GLOBALS['cfg']['TempDir']), 'pma_xlsx_');
|
||||
|
||||
$workbookWriter = new PHPExcel_Writer_Excel2007($workbook);
|
||||
$workbookWriter->setTempDir(realpath($GLOBALS['cfg']['TempDir']));
|
||||
$workbookWriter->save($tmp_filename);
|
||||
|
||||
if (!PMA_exportOutputHandler(file_get_contents($tmp_filename))) {
|
||||
|
Reference in New Issue
Block a user