View.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 15 Aug 2011 05:04:39 +0000 (13:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 15 Aug 2011 05:04:39 +0000 (13:04 +0800)
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');