Request class and begin Frontend.

This commit is contained in:
2026-03-20 15:54:29 +01:00
parent 6c068443dc
commit 72108d4d03
18 changed files with 540 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
namespace App;
use App\Exceptions\ConfigFailedLoadingException;
use App\Exceptions\InvalidRouteException;
use App\Helpers\Authentification;
use App\Helpers\AutoLoader;
use App\Helpers\ConfigFactory;
use App\Http\Router;
@@ -62,6 +63,8 @@ final class Kernel {
$this->buildAutoloader();
$this->loadConfig();
Authentification::startSession();
try {
Router::routeTo();
} catch ( InvalidRouteException $e ){