diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 94d2bcb56a..8fdf4f3671 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-05-30 Sergio Martin + + * include/functions_api.php: Added to API a test function + to test the API connection returning OK when success + 2012-05-30 Dario Rodriguez * include/functions_reporting.php: Fixed group view, diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 2fa2d6b5bb..463e5c3a3a 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -178,6 +178,10 @@ function isInACL($ip) { return false; } +function get_test() { + echo "OK"; +} + //-------------------------DEFINED OPERATIONS FUNCTIONS----------------- function get_groups($thrash1, $thrash2, $other, $returnType, $user_in_db) { if ($other['type'] == 'string') {