This commit is contained in:
Alexandre Anriot 2005-09-13 21:11:50 +00:00
parent 9d10656915
commit e132e290c8
2 changed files with 4 additions and 4 deletions

View file

@ -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();
<html>
<head>
<META HTTP-EQUIV=Refresh CONTENT="5; URL=index.php">
</head>
<body>
<table align="center">

View file

@ -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");
?>
<html>