mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove size headers since they seem to screw up IE
This commit is contained in:
parent
9c0e095388
commit
b7e9c8eb7d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user