first commit

This commit is contained in:
2026-07-30 16:26:21 +02:00
commit 9e32a4d786
33 changed files with 3475 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
require __DIR__ . '/vendor/autoload.php';
use SyslogDash\Layout;
$page = $_GET['page'] ?? 'dashboard';
$allowed = ['dashboard', 'worldmap', 'logs', 'bi', 'export'];
if (!in_array($page, $allowed)) {
$page = 'dashboard';
}
if ($page === 'export') {
require __DIR__ . '/pages/export.php';
return;
}
Layout::render($page);