fix niveau
This commit is contained in:
parent
131673abd2
commit
a6c9f7e5d3
@ -7,7 +7,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