FrameBeurk File
Fmbk/Module/Uzers/User/Maj/logoutUser.php
<?php //FrameBeurk V0.65 Copyright ToolOscope 2016. Licence CeCILL-C.
if (! Uzers_estLogue())
Beurk_messageEtape("Vous n'êtes pas logués", true);
else {
$TRANSAC['StatutLogin'] = 1; // déconnexion
db_QUERY("UPDATE Uzers_UserSession SET IdEtat='" . Beurk_id('F') . "', TsFin='" . $TRANSAC['Stat']['TsBeurkIni'] . "' WHERE IdUser='"
. $DIALOG['IdUser'] . "' and TsDeb='" . $DIALOG['TempsDebSession'] . "'");
$CONFIG['Module']['Beurk']['Fonctions']['InitDialogue'](); // réinitialisation du dialogue (et purge du tableau en session)
}
© 2010-2015 by ToolOscope SASU. © 2016-2018 by Arnaud De Rette. All rights reserved