diff --git a/app/provision/index.php b/app/provision/index.php index c29c1481c8..1b166c6074 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -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') {