- Public display
This commit is contained in:
@@ -2,6 +2,26 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
require __DIR__ . '/../app/bootstrap.php';
|
||||
|
||||
if (!app_tracker_area_enabled()) {
|
||||
http_response_code(404);
|
||||
$pageTitle = 'Tracker Unavailable | Medical Tracker';
|
||||
$activePage = '';
|
||||
require __DIR__ . '/partials/site-header.php';
|
||||
?>
|
||||
<main>
|
||||
<section class="admin-public-shell record-shell">
|
||||
<p class="site-eyebrow">Private area disabled</p>
|
||||
<h1>Tracker is not available.</h1>
|
||||
<p>This public site is currently configured for reference browsing only.</p>
|
||||
<a class="site-primary" href="/">Return home</a>
|
||||
</section>
|
||||
</main>
|
||||
<?php
|
||||
require __DIR__ . '/partials/site-footer.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
app_db();
|
||||
?>
|
||||
<!doctype html>
|
||||
|
||||
Reference in New Issue
Block a user