From 8aa3c2436e8179ef4c021ef176ce320f00aa180b Mon Sep 17 00:00:00 2001 From: Alexandre Anriot Date: Tue, 13 Sep 2005 21:11:50 +0000 Subject: [PATCH] popup. --- htdocs/fin.php | 3 ++- htdocs/index.php | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/fin.php b/htdocs/fin.php index b769234..8b1c8b9 100644 --- a/htdocs/fin.php +++ b/htdocs/fin.php @@ -15,7 +15,7 @@ function delrules() update_statut($_SESSION['login'], "0"); } -session_unset(EVOAUTH_PHPSESSION); +session_unset("EVOAUTH_PHPSESSION"); session_destroy(); ?> @@ -23,6 +23,7 @@ session_destroy(); + diff --git a/htdocs/index.php b/htdocs/index.php index b52cb41..f2b744b 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -6,11 +6,10 @@ session_name("EVOAUTH_PHPSESSION"); session_start(); // destruction de la session -session_unset(EVOAUTH_PHPSESSION); +session_unset("EVOAUTH_PHPSESSION"); session_destroy(); -$Access = system("/usr/bin/sudo /usr/local/share/evoauth/Evoauth.pl --A ".$_SESSION['ip']." > /dev/null"); +$Access = system("/usr/bin/sudo /usr/local/share/evoauth/Evoauth.pl -A ".$_SESSION['ip']." > /dev/null"); ?>