diff options
Diffstat (limited to '')
-rw-r--r-- | src/web/_views/head.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/web/_views/head.php b/src/web/_views/head.php index cca43a1..809ab36 100644 --- a/src/web/_views/head.php +++ b/src/web/_views/head.php @@ -4,23 +4,14 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script> - <?php if ($this->main->session): ?> - var jwtStr = <?=json_encode($this->main->session['jwt'])?>; + <?php if ($session): ?> + var jwtStr = <?=json_encode($session['jwt'])?>; <?php else: ?> var jwtStr = null; <?php endif; ?> </script> - <?php - foreach ($js_files as $js) { - echo $this->main->link_js($js); - } - foreach ($css_files as $css) { - echo $this->main->link_css($css); - } - ?> + <?=CRIMSON_META($this)?> <title><?=$title?></title> - <!-- haa haa hee hee hoo hoo --> - <script src="https://unpkg.com/@ruffle-rs/ruffle"></script> </head> <body> <div id="toast-container"> |