Actualiser dashboard.php
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
// PROTECTION
|
// Sécurité
|
||||||
if (!isset($_SESSION['user'])) {
|
if (!isset($_SESSION['user'])) {
|
||||||
header("Location: login.php");
|
header("Location: login.php");
|
||||||
exit();
|
exit();
|
||||||
@@ -12,6 +12,6 @@ include 'include/nav.php';
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<h2>Dashboard</h2>
|
<h2>Dashboard</h2>
|
||||||
<p>Bienvenue <?= $_SESSION['user'] ?></p>
|
<p>Bienvenue <?php echo $_SESSION['user']; ?></p>
|
||||||
|
|
||||||
<?php include 'include/footer.php'; ?>
|
<?php include 'include/footer.php'; ?>
|
||||||
Reference in New Issue
Block a user