X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=logout.php;h=02b4b0795ffa54fbb27795342e184cd5d605c650;hp=9285e6a7ccb57ee9d7e97df673d4b2f740a63930;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=3181694edcb311144c22078ab6d59112bcde612a diff --git a/logout.php b/logout.php index 9285e6a..02b4b07 100644 --- a/logout.php +++ b/logout.php @@ -4,8 +4,8 @@ require_once ("./inc/settings.php"); -$cookie_name = sprintf ("%sauth", DBPREFIX); -setcookie ($cookie_name, "", time () - 3600, "" , "",false, true); +setcookie (sprintf ("%sauth", DBPREFIX), "", time () - 3600, "" , "",false, true); +setcookie (sprintf ("%suser", DBPREFIX), "", time () - 3600, "" , "",false, true); header ('Location: index.php'); ?>