seuls les admins peuvent lancer stop
This commit is contained in:
parent
c1f323b18d
commit
8134808e59
@ -10,6 +10,8 @@ $username = Username();
|
|||||||
$profil = Profil($username);
|
$profil = Profil($username);
|
||||||
FiltreProfil($profil);
|
FiltreProfil($profil);
|
||||||
|
|
||||||
|
if ($profil == 2) {
|
||||||
|
|
||||||
$act = "";
|
$act = "";
|
||||||
$logout = "fermer la session";
|
$logout = "fermer la session";
|
||||||
$logout_salle = "fermer toutes les sessions";
|
$logout_salle = "fermer toutes les sessions";
|
||||||
@ -41,5 +43,7 @@ if ($act != "") {
|
|||||||
PostURL($url_stop, array('act'=>$act, 'host'=>$host));
|
PostURL($url_stop, array('act'=>$act, 'host'=>$host));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
header('Location: salles_live.php');
|
header('Location: salles_live.php');
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user