mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-08 11:02: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";
|
require_once "views/header.php";
|
||||||
|
|
||||||
http_response_code(403);
|
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";
|
<?php
|
||||||
|
require_once "views/footer.php";
|
||||||
exit();
|
|
@ -4,9 +4,13 @@ require_once "config.php";
|
|||||||
require_once "views/header.php";
|
require_once "views/header.php";
|
||||||
|
|
||||||
http_response_code(404);
|
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";
|
<?php
|
||||||
|
require_once "views/footer.php";
|
||||||
exit();
|
|
Loading…
Reference in New Issue
Block a user