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",