summaryrefslogtreecommitdiff
path: root/src/web/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/index.php')
-rw-r--r--src/web/index.php7
1 files changed, 1 insertions, 6 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();