summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-23 15:00:00 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-23 15:00:00 -0600
commit2264a80368be16b8ab898eec9234cd6ce9fe7652 (patch)
tree55d70e507a0877c9bfa5047e62f08a23bf97193d /modules
parent457708311a466d8b116d5b28575be1bc3baad864 (diff)
parent256822a1e8d387ef9cc29e354a36099dbab17992 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/controllers/file_proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/file_proxy.php b/modules/gallery/controllers/file_proxy.php
index a85f0a85..8cb90c50 100644
--- a/modules/gallery/controllers/file_proxy.php
+++ b/modules/gallery/controllers/file_proxy.php
@@ -119,7 +119,7 @@ class File_Proxy_Controller extends Controller {
if (in_array($item->mime_type, array("video/x-flv", "video/mp4"))) {
header("Content-type: image/jpeg");
} else {
- print("Content-Type: $item->mime_type");
+ header("Content-Type: $item->mime_type");
}
Kohana::close_buffers(false);