From bb6844a2c4ffa54ba31f1d6e6542a0ef2827f9f0 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 11 Dec 2024 17:17:03 -0500 Subject: fix spacing, remote __init function --- src/web/index.php | 7 +------ src/web/lang/common.php | 14 +++++++------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/web/index.php b/src/web/index.php index c0ed0ef..9958b1b 100644 --- a/src/web/index.php +++ b/src/web/index.php @@ -45,9 +45,4 @@ require(WEB_ROOT . '/stamp.php'); // ============================== START == -function __init() { - $router = new Router(); - $router->handle_req(); -}; - -__init(); +(new Router())->handle_req(); diff --git a/src/web/lang/common.php b/src/web/lang/common.php index a256ee8..aef1ede 100644 --- a/src/web/lang/common.php +++ b/src/web/lang/common.php @@ -35,13 +35,13 @@ $lang['copyright'] = 'Copyright (c)'; # footer_text $lang ['footer_text'] = [ "Always look on the bright side of life", - "🐝 powder", - "Submit to john", - "Make sure to feed your computer three meals a day", - "curl https://f.freya.cat/rick/roll.sh | bash", - "medium rare chocolate", - "Incorporated by bees", - "[redacted]", + "🐝 powder", + "Submit to john", + "Make sure to feed your computer three meals a day", + "curl https://f.freya.cat/rick/roll.sh | bash", + "medium rare chocolate", + "Incorporated by bees", + "[redacted]", "Certified RFC 9225 compliant.", "JS free since always", "Thank you for visiting the", -- cgit v1.2.3-freya