Remove size headers since they seem to screw up IE

This commit is contained in:
Seth Mos 2007-10-21 16:19:14 +00:00
parent 9c0e095388
commit b7e9c8eb7d

View File

@ -648,8 +648,6 @@ else
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
$file= "/usr/local/www/themes/{$g['theme']}/images/misc/rrd_error.png";
$size= filesize($file);
header("Content-Length: $size bytes");
readfile($file);
} else {
$file = "$rrdtmppath$curdatabase-$interval.png";
@ -660,8 +658,6 @@ else
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
$size= filesize($file);
header("Content-Length: $size bytes");
readfile($file);
}
}