diff --git a/public/css/2021.css b/public/assets/2021.css similarity index 100% rename from public/css/2021.css rename to public/assets/2021.css diff --git a/public/index.php b/public/index.php index d0dd437..f407db4 100644 --- a/public/index.php +++ b/public/index.php @@ -71,8 +71,8 @@ $router->use('/', function($response) { $response->setPoweredBy('Makai+Index'); }); -$router->get('/header-bgs.json', function() { - return json_encode(FM_BGS); +$router->get('/header-bgs.json', function() use ($ctx) { + return $ctx->getDefaultHeaders(); }); $router->get('/now-listening', function() use ($ctx) { diff --git a/tpl/ascii.php b/tpl/ascii.php index 86522d2..ee2ca0c 100644 --- a/tpl/ascii.php +++ b/tpl/ascii.php @@ -144,7 +144,7 @@ $self->block('container', function($self) {
printable
for all printable characters, or control
for all control characters.
diff --git a/tpl/errors/master.php b/tpl/errors/master.php
index 4023f32..333133a 100644
--- a/tpl/errors/master.php
+++ b/tpl/errors/master.php
@@ -6,7 +6,7 @@ $self->block('container', function($self) {