Bug Fix: Clean buffer before sending the rendered template
This commit is contained in:
parent
64fd1a5e54
commit
e3682cee6c
|
|
@ -452,6 +452,9 @@
|
|||
$prov->file = $file;
|
||||
$file_contents = $prov->render();
|
||||
|
||||
//clean the output buffer
|
||||
ob_clean();
|
||||
|
||||
//deliver the customized config over HTTP/HTTPS
|
||||
//need to make sure content-type is correct
|
||||
if (!empty($_REQUEST['content_type']) && $_REQUEST['content_type'] == 'application/octet-stream') {
|
||||
|
|
@ -531,7 +534,3 @@
|
|||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue