19 lines
660 B
PHP
Executable File
19 lines
660 B
PHP
Executable File
</main>
|
|
<?php if (auth_is_admin()): ?>
|
|
<?php
|
|
$nexusDebugPayload = json_encode([
|
|
'enabled' => nexus_debug_enabled(),
|
|
'entries' => nexus_debug_entries(),
|
|
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
|
|
if (!is_string($nexusDebugPayload)) {
|
|
$nexusDebugPayload = '{"enabled":false,"entries":[]}';
|
|
}
|
|
?>
|
|
<div id="nexus-debug-root"></div>
|
|
<script id="nexus-debug-data" type="application/json"><?= $nexusDebugPayload ?></script>
|
|
<?php endif; ?>
|
|
<script src="<?= e(app()->assets()->versioned('/assets/js/app.js')) ?>" defer></script>
|
|
<?php asset_scripts('footer'); ?>
|
|
</body>
|
|
</html>
|