fix niveau
This commit is contained in:
parent
a6c9f7e5d3
commit
68a7dd37dc
@ -9,7 +9,7 @@ $username = Username();
|
|||||||
// test profil utilisateur
|
// test profil utilisateur
|
||||||
$profil = Profil($username);
|
$profil = Profil($username);
|
||||||
FiltreProfil($profil);
|
FiltreProfil($profil);
|
||||||
if ($profil < 2) {
|
if ($profil < $niveaux[$roles[3]]) {
|
||||||
header('Location: '.$winlog_url);
|
header('Location: '.$winlog_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user