From 867fe0357b50639ac03f5503fad02a56850b5bfb Mon Sep 17 00:00:00 2001 From: jbousquie Date: Tue, 29 Nov 2016 16:49:24 +0100 Subject: [PATCH] filtre admin --- admin/recup_salles.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/recup_salles.php b/admin/recup_salles.php index 3a089ae..22f0f9b 100644 --- a/admin/recup_salles.php +++ b/admin/recup_salles.php @@ -9,6 +9,9 @@ $username = Username(); // test profil utilisateur $profil = Profil($username); FiltreProfil($profil); +if ($profil < 2) { + header('Location: '.$winlog_url); +} // paramètre update $update = false;