includes/modules/wizard.php
<!--
Standalone install wizard page.
Included directly (and the request exits) from startup.php when
brivaciaNeedsInstall() is true — i.e. no settings.json yet. The actual
step-by-step logic lives client-side in wizard.js; this template's job
is just to host the wizard modal on an otherwise empty page.
-->
<!doctype html>
<html data-theme="<?= h($theme) ?>" dir="<?= h(currentDir()) ?>" lang="<?= h(currentLang()) ?>">
<head>
<title><?= h(t('wizard.title')) ?></title>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow, noarchive, nosnippet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="<?= h(assetOrPlaceholder('favicon', brivaciaFaviconPlaceholder(), $currentSite ?? '')) ?>">
<link rel="stylesheet" href="/assets/css/style.min.css">
</head>
<body>
<?php require __DIR__ . '/../modals/wizard_modal.php'; ?>
<script defer src="/assets/js/wizard.min.js"></script>
</body>
</html>