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 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/web/index.php') 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(); -- cgit v1.2.3-freya