Commit 5214456ad937ca1c4bdde62c65933e77cb47e701
1 parent
ad69cb1d
Test
Showing
3 changed files
with
5 additions
and
7 deletions
Show diff stats
site/formInscription.php
site/inscription.php
site/inscrire.php
@@ -9,14 +9,11 @@ | @@ -9,14 +9,11 @@ | ||
9 | <body> | 9 | <body> |
10 | <?php | 10 | <?php |
11 | include("header.php"); | 11 | include("header.php"); |
12 | + require_once("accesBase.php"); | ||
12 | if(getGroupe($_SESSION['Login'])==1) | 13 | if(getGroupe($_SESSION['Login'])==1) |
13 | - { | ||
14 | - include("formInscription.php"); | ||
15 | - } | 14 | + { include("formInscription.php"); } |
16 | else | 15 | else |
17 | - { | ||
18 | - ?><meta http-equiv="Refresh" content="0;url=accueil.php" /><?php | ||
19 | - } | 16 | + { header("Location: accueil.php"); } |
20 | ?> | 17 | ?> |
21 | </body> | 18 | </body> |
22 | </html> | 19 | </html> |