. * --------------------------------------------------------------------- */ /** * @since 9.1 */ define('GLPI_ROOT', __DIR__); define('DO_NOT_CHECK_HTTP_REFERER', 1); include_once (GLPI_ROOT . "/inc/based_config.php"); // Init loggers $GLPI = new GLPI(); $GLPI->initLogger(); $GLPI->initErrorHandler(); //init cache $GLPI_CACHE = Config::getCache('cache_db'); $api = new Glpi\Api\APIXmlrpc; $api->call();