Schone start na index corruptie

This commit is contained in:
2026-09-09 14:31:23 +02:00
commit a5324548ec
41 changed files with 9351 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
/**
* Fociz Entrypoint
*/
require_once __DIR__ . '/includes/auth.php';
start_secure_session();
if (!has_admin_user()) {
header('Location: /auth/setup.php');
exit;
}
$user = get_logged_in_user();
if ($user) {
header('Location: /planner.php');
exit;
}
header('Location: /auth/login.php');
exit;