aboutsummaryrefslogtreecommitdiff
path: root/public/dispatch.php
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2022-11-04 07:14:50 +0000
committerMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2022-11-04 07:14:50 +0000
commitd08d1b67d2e6d17e67623bb6b47c37a67eea22e4 (patch)
treebb5d9408f245ce4f26a9e981b034ac203a36eff4 /public/dispatch.php
parente814af9c5111f1da26e4ba5e16cca80c5ba5a022 (diff)
Use dependency injection in trails, closes #1714.
Closes #1714 Merge request studip/studip!1118
Diffstat (limited to 'public/dispatch.php')
-rw-r--r--public/dispatch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/dispatch.php b/public/dispatch.php
index 3abad64..b6f6847 100644
--- a/public/dispatch.php
+++ b/public/dispatch.php
@@ -23,5 +23,5 @@ URLHelper::setBaseUrl($GLOBALS['ABSOLUTE_URI_STUDIP']);
$request_uri = isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '/';
-$dispatcher = new StudipDispatcher();
+$dispatcher = app(\Trails_Dispatcher::class);
$dispatcher->dispatch($request_uri);