* * @category Search * @package Mediboard * @author SARL OpenXtrem <*****@*****.**> * @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html * @link http://www.mediboard.org */ CCanDo::checkAdmin(); $group = CGroups::loadCurrent(); $test_search = new CSearch(); $test_search->testConnection($group); try { // récupération du client $client_index = new CSearch(); $client_index->createClient(); $infos_index = $client_index->loadCartoInfos(); } catch (Exception $e) { $infos_index = array(); CAppUI::displayAjaxMsg("Le serveur de recherche n'est pas connecté", UI_MSG_WARNING); } try { // récupération des données pour les journaux utilisateurs $client_log = new CSearchLog(); $client_log->createClient(); $infos_log = $client_log->loadCartoInfos(); } catch (Exception $e) { $infos_log = array(); CAppUI::displayAjaxMsg("Le serveur de recherche de journaux n'est pas connecté", UI_MSG_WARNING); } try { // récupération des données pour les journaux utilisateurs