mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fix the api info call
This commit is contained in:
parent
e614e3ecec
commit
2778239a0f
@ -54,6 +54,7 @@ $no_login_msg = "";
|
|||||||
// Clean unwanted output
|
// Clean unwanted output
|
||||||
ob_clean();
|
ob_clean();
|
||||||
|
|
||||||
|
// READ THIS:
|
||||||
// Special call without checks to retrieve version and build of the Pandora FMS
|
// Special call without checks to retrieve version and build of the Pandora FMS
|
||||||
// This info is avalable from the web console without login
|
// This info is avalable from the web console without login
|
||||||
// Don't change the format, it is parsed by applications
|
// Don't change the format, it is parsed by applications
|
||||||
@ -63,7 +64,7 @@ switch($info) {
|
|||||||
$config["MR"] = 0;
|
$config["MR"] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo io_safe_output(get_product_name()) . ' ' . $pandora_version . ' - ' . $build_version . " MR" . $config["MR"];
|
echo 'Pandora FMS ' . $pandora_version . ' - ' . $build_version . " MR" . $config["MR"];
|
||||||
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user