Files
Fociz/index.php
T
NiekRabelink 9da056b480 Add roadmap management feature with database schema and user management
- Implemented roadmap.php for displaying and managing roadmap items with filters for quarter and status.
- Created schema.sql to define the database structure for users, invites, daily plans, tasks, brainstorm sessions, brainstorm cards, roadmap items, and integrations.
- Developed users.php for admin panel to manage team members and invitations, including functionality to create and revoke invites.
2026-09-08 12:47:11 +02:00

22 lines
355 B
PHP

<?php
/**
* Fociz Entrypoint
*/
require_once __DIR__ . '/includes/auth.php';
start_secure_session();
if (!has_admin_user()) {
header('Location: /auth/setup.php');
exit;
}
if (!empty($_SESSION['user_id']) && !empty($_SESSION['is_2fa_verified'])) {
header('Location: /planner.php');
exit;
}
header('Location: /auth/login.php');
exit;