9262b09c4d
- Implemented roadmap.php for managing roadmap items with filtering options by quarter and status. - Added a service worker (sw.js) to handle push notifications and click events for calendar appointments. - Created users.php for admin to manage team members and invitations, including user creation and deletion functionalities.
23 lines
322 B
PHP
23 lines
322 B
PHP
<?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;
|
|
|