BARRAUX Arthur
3 years ago
12 changed files with 16 additions and 23 deletions
@ -1,6 +1,6 @@ |
|||
<?php |
|||
session_start(); |
|||
if (!isset($_SESSION['login']) || !isset($_SESSION['pwd'])) { |
|||
header('location: ../index.php'); |
|||
header('location: ../login/index.php'); |
|||
} |
|||
?> |
@ -1,6 +1,6 @@ |
|||
<?php |
|||
session_start(); |
|||
if ( !(isset($_SESSION['login']) && isset($_SESSION['pwd'])) && !($_SESSION['login'] == 'referant')) { |
|||
header('location: ../index.php'); |
|||
header('location: ../login/index.php'); |
|||
} |
|||
?> |
Loading…
Reference in new issue