chemin de Evoauth.pl
This commit is contained in:
parent
631d3b7584
commit
dd3917ff5a
|
@ -19,6 +19,8 @@ if ($statut == "0") {
|
|||
echo '<p>Vous êtes connecté.';
|
||||
echo '<p>Pour revenir à l\'accueil tout en restant connecté, cliquez <a href="membre.php">ici</a>.';
|
||||
echo '</body></html>';
|
||||
|
||||
loadrules();
|
||||
}
|
||||
|
||||
// Connecté mais plus de popup
|
||||
|
@ -51,7 +53,7 @@ else {
|
|||
function loadrules()
|
||||
{
|
||||
// activation des règles de firewall
|
||||
system("/usr/bin/sudo /usr/local/share/Evoauth.pl -a ".$_SESSION['ip']);
|
||||
system("/usr/bin/sudo /usr/local/share/evoauth/Evoauth.pl -a ".$_SESSION['ip']);
|
||||
|
||||
// passage au statut authentifié
|
||||
update_statut($_SESSION['login'], "1");
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
$apass = "15e1dd7a1ab7eac39387ccfcbad90263";
|
||||
|
||||
// administrateur ?
|
||||
if (($_POST['login'] == "admin") && (md5($_POST['pass']) == $apass))
|
||||
if (($_POST['login'] == "admin") && (md5($_POST['pass']) == $apass)) {
|
||||
{
|
||||
$ulog = $_POST['login'];
|
||||
$upass = $_POST['pass'];
|
||||
|
|
|
@ -57,7 +57,7 @@ if (isset($_SESSION['login']))
|
|||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="b4b4b5">
|
||||
<td align="center"><a href="activation.php?flag=1"><b>Activation de votre accès</b></a><br></td>
|
||||
<td align="center"><a href="activation.php"><b>Activation de votre accès</b></a><br></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ if (isset($_SESSION['login']))
|
|||
<td> </td>
|
||||
</tr>
|
||||
<tr bgcolor="b4b4b5">
|
||||
<td align="center"><a href="activation.php?flag=1"><b>Activation de votre accès</b></a><br></td>
|
||||
<td align="center"><a href="activation.php"><b>Activation de votre accès</b></a><br></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
|
Reference in a new issue