projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620367c
)
Pman/GnumericToExcel.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 10 Sep 2010 05:22:00 +0000
(13:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 10 Sep 2010 05:22:00 +0000
(13:22 +0800)
Pman/GnumericToExcel.php
patch
|
blob
|
history
diff --git
a/Pman/GnumericToExcel.php
b/Pman/GnumericToExcel.php
index
86704a0
..
a46ed06
100644
(file)
--- a/
Pman/GnumericToExcel.php
+++ b/
Pman/GnumericToExcel.php
@@
-78,7
+78,8
@@
class Pman_GnumericToExcel extends Pman
$fh = fopen($targetTmp, 'r');
header('Content-type: application/vnd.ms-excel');
- header('Content-Disposition: attachment; filename="' .addslashes($fname). '"');
+ header('Content-Disposition: attachment; filename="' .addslashes($fname). '"');
+
// will not work on IE... - needs while/fget..
fpassthru($fh);
unlink($targetTmp);