little stash...

This commit is contained in:
2026-04-21 13:43:08 +02:00
parent e3fd36d302
commit 894cc2d3fd
6 changed files with 101 additions and 0 deletions

11
public/index.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
require_once __DIR__ . '/../src/Autoloader.php';
$autoloader = new Autoloader();
$autoloader->addNamespace('src', __DIR__ . '/../src');
$autoloader->register();
$router = new Router();
require_once __DIR__ . '/../config/routes.php';
$router->dispatch($_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI']);