9da056b480
- 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.
22 lines
355 B
PHP
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;
|
|
|