Add MySQL schema dump for phpMyAdmin

This commit is contained in:
Thomas
2025-10-28 14:08:03 +01:00
parent f956a735ca
commit 8e608d03ec
49 changed files with 1929 additions and 1 deletions

18
public/index.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
use App\Core\Config;
use App\Core\Router;
require __DIR__ . '/../bootstrap/autoload.php';
Config::getInstance();
$router = new Router();
require base_path('routes/web.php');
$response = $router->dispatch($_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI']);
http_response_code($response->getStatus());
foreach ($response->getHeaders() as $header => $value) {
header($header . ': ' . $value);
}
echo $response->getBody();