. * * ------------------------------------------------------------------------ * * This file is called by ajax function and display deploy user logged. * * ------------------------------------------------------------------------ * * @package FusionInventory * @author Kevin Roy * @author David Durieux * @copyright Copyright (c) 2010-2016 FusionInventory team * @license AGPL License 3.0 or (at your option) any later version * http://www.gnu.org/licenses/agpl-3.0-standalone.html * @link http://www.fusioninventory.org/ * @link https://github.com/fusioninventory/fusioninventory-for-glpi * */ include ("../../../inc/includes.php"); $loggedin = []; $loggedin['result'] = 1; if (!isset($_SESSION["glpiname"])) { if (!getLoginUserID()) { $loggedin['result'] = 0; } } echo json_encode($loggedin);