mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-07 10:22:21 +00:00
Boîtes de dialogue pages d'erreur
This commit is contained in:
parent
61ddc8b17c
commit
6a9219ea1b
@ -4,9 +4,13 @@ require_once "config.php";
|
||||
require_once "views/header.php";
|
||||
|
||||
http_response_code(403);
|
||||
?>
|
||||
|
||||
echo "<h1>Vous n'êtes pas autorisé à accéder à cette page.</h1>";
|
||||
<div class="alert alert-danger mt-4 mb-4">
|
||||
<h2 class="display-5">
|
||||
Vous n'êtes pas autorisé à accéder à cette page.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
require_once "views/footer.php";
|
||||
|
||||
exit();
|
||||
<?php
|
||||
require_once "views/footer.php";
|
@ -4,9 +4,13 @@ require_once "config.php";
|
||||
require_once "views/header.php";
|
||||
|
||||
http_response_code(404);
|
||||
?>
|
||||
|
||||
echo "<h1>Cette page n'existe pas.</h1>";
|
||||
<div class="alert alert-danger mt-4 mb-4">
|
||||
<h2 class="display-5">
|
||||
Cette page n'existe pas.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
require_once "views/footer.php";
|
||||
|
||||
exit();
|
||||
<?php
|
||||
require_once "views/footer.php";
|
Loading…
Reference in New Issue
Block a user