check(true); /** * check if 2FA is completed */ if ( ! $g_user->is_double_identified()) { exit(); } IDate::set_firstDate($g_user->get_first_week_day()); ITva_Popup::set_vat_code($g_user->get_vat_code_preference()); set_language(); /* if a code has been asked */ if (isset($_REQUEST['plugin_code']) ) { if ( LOGINPUT) { $file_loginput=fopen($_ENV['TMP'].'/scenario-'.$_SERVER['REQUEST_TIME'].'.php','a+'); fwrite ($file_loginput,"search($_REQUEST['plugin_code']) != -1) { /* security */ if ( !isset ($_SESSION[SESSION_KEY.'g_user']) || $ext->can_request($_SESSION[SESSION_KEY.'g_user']) == 0 ) { exit(); } /* call the ajax script */ require_once(NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'ajax.php'); } else { alert(j(_("Cette extension n'existe pas "))); exit(); } } ?>