From: nicosomb Date: Mon, 15 Apr 2013 13:23:20 +0000 (+0200) Subject: gestion de la fin de session #41 X-Git-Tag: 0.1~24 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=643e3037e6e63befb2cec20f7986f14480d4ae4b;p=github%2Fwallabag%2Fwallabag.git gestion de la fin de session #41 --- diff --git a/inc/functions.php b/inc/functions.php index 30e00393..3ee238dd 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -243,7 +243,9 @@ function verif_token($token) { return TRUE; } - else return FALSE; + else { + session_destroy(); + } } else return FALSE; }