Images.php
authorAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2013 04:17:12 +0000 (12:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2013 04:17:12 +0000 (12:17 +0800)
Images.php

index 9dfd8cc..f8878a0 100644 (file)
@@ -106,7 +106,7 @@ class Pman_Core_Images extends Pman
                 if (!file_exists($src)) {
                     die("file was not saved");
                 }
-                header ('Content-Type: ' . $f->mimetype);
+                header ('Content-Type: ' . $f->type);
             
                 header("Content-Disposition: attachment; filename=\"".basename($f->filename)."\";" );
                 ob_clean();