fix niveau

This commit is contained in:
jbousquie 2016-11-30 09:57:22 +01:00
parent 69d3f0d73c
commit 64f67eebb3

View File

@ -7,7 +7,7 @@ $username = Username();
$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);
} }
?> ?>