This commit is contained in:
Alexandre Anriot 2005-09-13 21:11:50 +00:00
parent 84f665c152
commit 8aa3c2436e
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ function delrules()
update_statut($_SESSION['login'], "0"); update_statut($_SESSION['login'], "0");
} }
session_unset(EVOAUTH_PHPSESSION); session_unset("EVOAUTH_PHPSESSION");
session_destroy(); session_destroy();
?> ?>
@ -23,6 +23,7 @@ session_destroy();
<html> <html>
<head> <head>
<META HTTP-EQUIV=Refresh CONTENT="5; URL=index.php">
</head> </head>
<body> <body>
<table align="center"> <table align="center">

View file

@ -6,11 +6,10 @@ session_name("EVOAUTH_PHPSESSION");
session_start(); session_start();
// destruction de la session // destruction de la session
session_unset(EVOAUTH_PHPSESSION); session_unset("EVOAUTH_PHPSESSION");
session_destroy(); session_destroy();
$Access = system("/usr/bin/sudo /usr/local/share/evoauth/Evoauth.pl $Access = system("/usr/bin/sudo /usr/local/share/evoauth/Evoauth.pl -A ".$_SESSION['ip']." > /dev/null");
-A ".$_SESSION['ip']." > /dev/null");
?> ?>
<html> <html>