projects
/
Pman.Ftp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e186bd3
)
View.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 05:04:39 +0000
(13:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 05:04:39 +0000
(13:04 +0800)
View.php
patch
|
blob
|
history
diff --git
a/View.php
b/View.php
index
ca741ed
..
857a320
100644
(file)
--- a/
View.php
+++ b/
View.php
@@
-51,6
+51,8
@@
class Pman_Ftp_View extends Pman_Ftp_List
// handle download.
require_once 'File/Convert.php';
$f = new File_Convert($fp, $mt);
+ $f->convert("application/pdf"); // does no conversion (as it's the same.
+
$f->serve('attachment');