diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-11 17:17:03 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-11 17:17:03 -0500 |
commit | bb6844a2c4ffa54ba31f1d6e6542a0ef2827f9f0 (patch) | |
tree | 9c30a99e82b7f6bedaab6379bb701793a0458191 /src/web/index.php | |
parent | fix PHP 8.4 depricated warnings (diff) | |
download | website-bb6844a2c4ffa54ba31f1d6e6542a0ef2827f9f0.tar.gz website-bb6844a2c4ffa54ba31f1d6e6542a0ef2827f9f0.tar.bz2 website-bb6844a2c4ffa54ba31f1d6e6542a0ef2827f9f0.zip |
fix spacing, remote __init function
Diffstat (limited to 'src/web/index.php')
-rw-r--r-- | src/web/index.php | 7 |
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(); |