Comus Party
1.0.0
Application web de mini-jeux en ligne
Chargement...
Recherche...
Aucune correspondance
index.php
Aller à la documentation de ce fichier.
1
<?php
2
6
7
global
$router
;
8
9
use
ComusParty\App\Exceptions\NotFoundException
;
10
use
ComusParty\App\Exceptions\UnauthorizedAccessException
;
11
use
ComusParty\App\MessageHandler
;
12
13
require __DIR__ .
'/../include.php'
;
14
require __DIR__ .
'/../src/routes.php'
;
15
16
try
{
17
$router
->matchRoute();
18
}
catch
(NotFoundException|UnauthorizedAccessException|Exception $e) {
19
MessageHandler::displayFullScreenException($e);
20
exit;
21
}
ComusParty\App\Exceptions\NotFoundException
Classe NotFoundException.
Definition
NotFoundException.php:20
ComusParty\App\Exceptions\UnauthorizedAccessException
Classe UnauthorizedAccessException.
Definition
UnauthorizedAccessException.php:20
ComusParty\App\MessageHandler
Gestion de l'affichage des erreurs.
Definition
MessageHandler.php:25
$router
$router
Definition
routes.php:21
public
index.php
Généré le Mardi 18 Mars 2025 12:17:41 pour Comus Party par
1.13.2