2020-12-03 12:27:55 +01:00
|
|
|
<?php
|
|
|
|
|
2021-11-04 16:28:15 +01:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
2020-12-03 12:27:55 +01:00
|
|
|
// ==================================================
|
2023-06-08 11:53:13 +02:00
|
|
|
// Copyright (c) 2005-2023 Pandora FMS
|
2023-06-08 13:10:16 +02:00
|
|
|
// Please see http://pandorafms.com/community/ for full contribution list
|
2020-12-03 12:27:55 +01:00
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
require_once 'functions.php';
|
|
|
|
|
|
|
|
|
|
|
|
if (check_login(false)) {
|
|
|
|
$return = true;
|
|
|
|
} else {
|
|
|
|
$return = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
echo json_encode($return);
|