Commit 2aaaf871 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Oops, spit out gif content header, bot jpeg. Thanks Mac!

parent e72c90a8
......@@ -46,7 +46,7 @@ if (! TBExptAccessCheck($uid, $exp_pid, $exp_eid, $TB_EXPT_READINFO)) {
# Spit out the image with a content header.
#
if ($fp = popen("$TBSUEXEC_PATH $uid nobody webvistopology $pid $eid", "r")) {
header("Content-type: image/jpeg");
header("Content-type: image/gif");
fpassthru($fp);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment