Bug Fix: Clean buffer before sending the rendered template
This commit is contained in:
parent
f97a67fb27
commit
b16b6e844e
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue