Removed unwanted output from the api.php responses

This commit is contained in:
Alejandro Gallardo Escobar 2018-03-07 16:24:41 +01:00
parent 82f73f7308
commit c7e7ea1ed1
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ $correctLogin = false;
$user_in_db = null;
$no_login_msg = "";
// Clean unwanted output
ob_clean();
// Special call without checks to retrieve version and build of the Pandora FMS
// This info is avalable from the web console without login
// Don't change the format, it is parsed by applications