From 927d1513cfe01361e745901a2759339edce57fe4 Mon Sep 17 00:00:00 2001 From: Alexander Pervakov Date: Mon, 14 Jul 2014 12:07:07 +0400 Subject: [PATCH] Fix output in ODS example --- Examples/01simple-download-ods.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Examples/01simple-download-ods.php b/Examples/01simple-download-ods.php index ddabd3ee..574fb011 100644 --- a/Examples/01simple-download-ods.php +++ b/Examples/01simple-download-ods.php @@ -85,6 +85,5 @@ header ('Cache-Control: cache, must-revalidate'); // HTTP/1.1 header ('Pragma: public'); // HTTP/1.0 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'OpenDocument'); -//$objWriter->save('php://output'); -$objWriter->save('a.ods'); +$objWriter->save('php://output'); exit;