projects
/
Pman.Ftp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76e578
)
View.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 05:02:11 +0000
(13:02 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 05:02:11 +0000
(13:02 +0800)
View.php
patch
|
blob
|
history
diff --git
a/View.php
b/View.php
index
da34b34
..
ca741ed
100644
(file)
--- a/
View.php
+++ b/
View.php
@@
-47,7
+47,15
@@
class Pman_Ftp_View extends Pman_Ftp_List
exit;
- default:
+ default:
+ // handle download.
+ require_once 'File/Convert.php';
+ $f = new File_Convert($fp, $mt);
+ $f->serve('attachment');
+
+
+
+
die("Can not handle " . $mt . " yet");
}