Revert part of eb5e03880e.

XLSX writer does not have setTempDir method.
This commit is contained in:
Michal Čihař
2010-04-09 15:26:37 +02:00
parent 7337fe5a0c
commit 62c149e38d

View File

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