From dd140ccd8addb076ffdeecc43db2bc2b4c819a5b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 30 Apr 2023 16:46:04 +0200 Subject: [PATCH] app/library/Services.php: in _initSharedRouter() Remove default routes --- app/library/Services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/Services.php b/app/library/Services.php index b3d9cab..37fe922 100644 --- a/app/library/Services.php +++ b/app/library/Services.php @@ -319,7 +319,7 @@ class Services extends DiDefault $config = $this->get('config')->router; // Create the router - $router = new Router(); + $router = new Router(false); $router->removeExtraSlashes($config->get('removeExtraSlashes', false)); foreach($config->routes as $name => $def) {