mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Bug Fix: Clean buffer before sending the rendered template
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user