// Set header
if (substr($access, -3, 3) == 'log') {
// Output header
- sendHeader('Content-Type: text/plain');
+ addHttpHeader('Content-Type: text/plain');
// Clean content
clearOutputBuffer();
} elseif (substr($access, -3, 3) == '.gz') {
// @TODO Fix content-type here
- sendHeader('Content-Type: text/plain');
+ addHttpHeader('Content-Type: text/plain');
// Clean content
clearOutputBuffer();
} elseif (substr($access, -3, 3) == '.bz2') {
// @TODO Fix content-type here
- sendHeader('Content-Type: text/plain');
+ addHttpHeader('Content-Type: text/plain');
// Clean content
clearOutputBuffer();