Archived
1
0
Fork 0

app/library/Services.php: in _initSharedRouter() Remove default routes

This commit is contained in:
Henrik Hautakoski 2023-04-30 16:46:04 +02:00
parent d2e7d6b670
commit dd140ccd8a

View file

@ -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) {