From b02596ab0c909fcba1a8c0a72282cc2ef4c7b45d Mon Sep 17 00:00:00 2001 From: jbousquie Date: Tue, 29 Nov 2016 16:48:48 +0100 Subject: [PATCH] filtre admin --- admin/recup_comptes.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/recup_comptes.php b/admin/recup_comptes.php index 9ea747d..9e7a435 100644 --- a/admin/recup_comptes.php +++ b/admin/recup_comptes.php @@ -7,6 +7,9 @@ $username = Username(); // test profil utilisateur $profil = Profil($username); FiltreProfil($profil); +if ($profil < 2) { + header('Location: '.$winlog_url); +} // Connexion à la base winlog $db = db_connect();