filtre admin
This commit is contained in:
parent
0a2bd635d2
commit
b02596ab0c
@ -7,6 +7,9 @@ $username = Username();
|
|||||||
// test profil utilisateur
|
// test profil utilisateur
|
||||||
$profil = Profil($username);
|
$profil = Profil($username);
|
||||||
FiltreProfil($profil);
|
FiltreProfil($profil);
|
||||||
|
if ($profil < 2) {
|
||||||
|
header('Location: '.$winlog_url);
|
||||||
|
}
|
||||||
|
|
||||||
// Connexion à la base winlog
|
// Connexion à la base winlog
|
||||||
$db = db_connect();
|
$db = db_connect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user